---
title: CMConvertLabToXYZ
framework: Application Services
role: pseudoSymbol
path: applicationservices/colorsync_manager/1805134-cmconvertlabtoxyz
---

# CMConvertLabToXYZ

Converts colors specified in the L*a*b* color space to the XYZ color space.

## Declaration

```occ
CMError CMConvertLabToXYZ (
   const CMColor *src,
   const CMXYZColor *white,
   CMColor *dst,
   size_t count
);
```

## Parameters

- `src`: A pointer to a buffer containing the list of L*a*b* colors to convert to XYZ colors.
- `white`: A pointer to a reference white point.
- `dst`: A pointer to a buffer containing the list of colors as specified in the XYZ color space resulting from the conversion.
- `count`: The number of colors to convert.

## Return Value

Return Value A CMError value. See Result Codes.

## Overview

Overview The CMConvertLabToXYZ function converts one or more colors defined in the L*a*b color space to equivalent colors defined in the XYZ color space. Both color spaces are device independent.

## See Also

### Converting Colors

- [CMConvertXYZToLab](applicationservices/colorsync_manager/1805133-cmconvertxyztolab.md)
- [CMConvertXYZToLuv](applicationservices/colorsync_manager/1805137-cmconvertxyztoluv.md)
- [CMConvertLuvToXYZ](applicationservices/colorsync_manager/1805140-cmconvertluvtoxyz.md)
- [CMConvertXYZToYxy](applicationservices/colorsync_manager/1805142-cmconvertxyztoyxy.md)
- [CMConvertYxyToXYZ](applicationservices/colorsync_manager/1805146-cmconvertyxytoxyz.md)
- [CMConvertRGBToHLS](applicationservices/colorsync_manager/1805149-cmconvertrgbtohls.md)
- [CMConvertHLSToRGB](applicationservices/colorsync_manager/1805152-cmconverthlstorgb.md)
- [CMConvertRGBToHSV](applicationservices/colorsync_manager/1805155-cmconvertrgbtohsv.md)
- [CMConvertHSVToRGB](applicationservices/colorsync_manager/1805160-cmconverthsvtorgb.md)
- [CMConvertRGBToGray](applicationservices/colorsync_manager/1805164-cmconvertrgbtogray.md)
- [CMConvertXYZToFixedXYZ](applicationservices/colorsync_manager/1805169-cmconvertxyztofixedxyz.md)
- [CMConvertFixedXYZToXYZ](applicationservices/colorsync_manager/1805174-cmconvertfixedxyztoxyz.md)
- [CMConvertXYZToXYZ](applicationservices/colorsync_manager/1805177-cmconvertxyztoxyz.md)
