#CDB7EF

Closest named color: Light Violet (#D6B4FC). oklch(81.7% 0.081 302.6), rgb(205, 183, 239).

Aa

Black text reads best on this color (11.61:1).

About this color

#CDB7EF is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.081 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.026 away. Black text reads best on it, at 11.61:1.

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.61:1
White text1.80:1

Values

HEX#CDB7EF
RGBrgb(205, 183, 239)
HSLhsl(264, 64%, 83%)
OKLCHoklch(81.7% 0.081 302.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #CDB7EF 1.80:1 Fails Lc -37.7 Non-text elements, placeholder text
Black text on #CDB7EF 11.61:1 AAA Lc 70.3 Content text, not long reading
#CDB7EF text on white 1.80:1 Fails Lc 33.6 Non-text elements, placeholder text
#CDB7EF text on black 11.61:1 AAA Lc -69.0 Content text, not long reading

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.

  1. Step 50

    50

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #DFD3F2

    oklch(88.6% 0.044 303.1)

  4. Step 300

    300 (this color)

    #CDB7EF

    oklch(81.7% 0.081 302.6)

  5. Step 400

    400

    #B08CE3

    oklch(70.7% 0.129 302.3)

  6. Step 500

    500

    #9E6CDB

    oklch(63.1% 0.166 302.7)

  7. Step 600

    600

    #8951C8

    oklch(55.6% 0.18 302.6)

  8. Step 700

    700

    #7441AD

    oklch(49.1% 0.167 302.4)

  9. Step 800

    800

    #5F368C

    oklch(42.7% 0.139 302.9)

  10. Step 900

    900

    #4D3070

    oklch(37.7% 0.108 302.4)

  11. Step 950

    950

    #2D1D42

    oklch(27.1% 0.068 302)

Export this scale for Tailwind in the Tailwind colors tool

#CDB7EF with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#ACC0F10.048
Deuteranopia (no green cones)#B0C1ED0.046
Tritanopia (no blue cones)#C8BFCA0.064
Achromatopsia (no color)#C1C1C10.081

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #CDB7EF

    #CDB7EF

    oklch(81.7% 0.081 302.6)

  • #B9CC92

    #B9CC92

    oklch(81.6% 0.08 122.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDB7EF

    #CDB7EF

    oklch(81.7% 0.081 302.6)

  • #B1C0F8

    #B1C0F8

    oklch(81.6% 0.081 272.9)

  • #E3B0DA

    #E3B0DA

    oklch(81.6% 0.081 332.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #CDB7EF

    #CDB7EF

    oklch(81.7% 0.081 302.6)

  • #D5C286

    #D5C286

    oklch(81.6% 0.081 92.6)

  • #9BD3AA

    #9BD3AA

    oklch(81.7% 0.082 152.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDB7EF

    #CDB7EF

    oklch(81.7% 0.081 302.6)

  • #E9B88D

    #E9B88D

    oklch(81.6% 0.08 62.6)

  • #85D5C7

    #85D5C7

    oklch(81.7% 0.082 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDB7EF

    #CDB7EF

    oklch(81.7% 0.081 302.6)

  • #F3B0A2

    #F3B0A2

    oklch(81.6% 0.082 32.1)

  • #B9CC92

    #B9CC92

    oklch(81.6% 0.08 122.9)

  • #83D1E2

    #83D1E2

    oklch(81.6% 0.08 213.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CDB7EF, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #CDB7EF in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.