#CDB7EC

Closest named color: Light Violet (#D6B4FC). oklch(81.6% 0.077 303.7), rgb(205, 183, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.58:1
White text1.81:1

Values

HEX#CDB7EC
RGBrgb(205, 183, 236)
HSLhsl(265, 58%, 82%)
OKLCHoklch(81.6% 0.077 303.7)

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 #CDB7EC 1.81:1 Fails Lc -37.9 Non-text elements, placeholder text
Black text on #CDB7EC 11.58:1 AAA Lc 70.1 Content text, not long reading
#CDB7EC text on white 1.81:1 Fails Lc 33.8 Non-text elements, placeholder text
#CDB7EC text on black 11.58:1 AAA Lc -68.8 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE7F6

    oklch(93.7% 0.021 304)

  3. Step 200

    200

    #DFD3F1

    oklch(88.6% 0.043 303.7)

  4. Step 300

    300 (this color)

    #CDB7EC

    oklch(81.6% 0.077 303.7)

  5. Step 400

    400

    #B18DDF

    oklch(70.8% 0.122 303.6)

  6. Step 500

    500

    #9E6ED6

    oklch(63.1% 0.157 303.5)

  7. Step 600

    600

    #8953C3

    oklch(55.5% 0.171 303.6)

  8. Step 700

    700

    #7543A9

    oklch(49.2% 0.159 303.7)

  9. Step 800

    800

    #5F3889

    oklch(42.8% 0.132 303.5)

  10. Step 900

    900

    #4D316D

    oklch(37.6% 0.102 303.4)

  11. Step 950

    950

    #2D1D40

    oklch(26.9% 0.065 303.4)

Export this scale for Tailwind in the Tailwind colors tool

#CDB7EC 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)#ADC0EE0.047
Deuteranopia (no green cones)#B1C0EA0.043
Tritanopia (no blue cones)#C8BEC90.060
Achromatopsia (no color)#C0C0C00.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDB7EC

    #CDB7EC

    oklch(81.6% 0.077 303.7)

  • #B8CC95

    #B8CC95

    oklch(81.6% 0.077 124.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDB7EC

    #CDB7EC

    oklch(81.6% 0.077 303.7)

  • #B2C0F5

    #B2C0F5

    oklch(81.5% 0.077 273.1)

  • #E2B1D8

    #E2B1D8

    oklch(81.6% 0.076 333.5)

Open the analogous palette in the generator

Split complementary

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

  • #CDB7EC

    #CDB7EC

    oklch(81.6% 0.077 303.7)

  • #D3C289

    #D3C289

    oklch(81.5% 0.077 93.5)

  • #9CD2AC

    #9CD2AC

    oklch(81.6% 0.077 153.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDB7EC

    #CDB7EC

    oklch(81.6% 0.077 303.7)

  • #E7B98F

    #E7B98F

    oklch(81.7% 0.077 63.8)

  • #88D3C8

    #88D3C8

    oklch(81.5% 0.076 184.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDB7EC

    #CDB7EC

    oklch(81.6% 0.077 303.7)

  • #F0B1A2

    #F0B1A2

    oklch(81.5% 0.077 33.8)

  • #B8CC95

    #B8CC95

    oklch(81.6% 0.077 124.3)

  • #86D0E1

    #86D0E1

    oklch(81.5% 0.077 213.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #CDB7EC 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.