#CDC7EC

Closest named color: Light Periwinkle (#C1C6FC). oklch(84.6% 0.051 292.7), rgb(205, 199, 236).

Aa

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

About this color

#CDC7EC is a light, muted purple. In OKLCH its lightness is 85%, its chroma 0.051 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Periwinkle (#C1C6FC), ΔE 0.028 away. Black text reads best on it, at 12.97:1.

Hue familyPurples
Lightnesslight (85%)
Chromamuted (0.051)
Temperaturein between
Nearest nameLight Periwinkle (#C1C6FC)
Black text12.97:1
White text1.61:1

Values

HEX#CDC7EC
RGBrgb(205, 199, 236)
HSLhsl(250, 49%, 85%)
OKLCHoklch(84.6% 0.051 292.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 #CDC7EC 1.61:1 Fails Lc -31.3 Non-text elements, placeholder text
Black text on #CDC7EC 12.97:1 AAA Lc 76.1 Fine for body text
#CDC7EC text on white 1.61:1 Fails Lc 27.7 Dividers and decoration only
#CDC7EC text on black 12.97:1 AAA Lc -75.2 Fine for body text

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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #D9D6EB

    oklch(88.5% 0.029 292.4)

  4. Step 300

    300 (this color)

    #CDC7EC

    oklch(84.6% 0.051 292.7)

  5. Step 400

    400

    #A297D0

    oklch(70.7% 0.083 293)

  6. Step 500

    500

    #8C7DC3

    oklch(63.1% 0.104 293)

  7. Step 600

    600

    #7665B0

    oklch(55.6% 0.115 292.7)

  8. Step 700

    700

    #635497

    oklch(49.1% 0.105 292.4)

  9. Step 800

    800

    #51457B

    oklch(42.8% 0.088 292.5)

  10. Step 900

    900

    #433A63

    oklch(37.7% 0.069 292.9)

  11. Step 950

    950

    #27223A

    oklch(26.9% 0.044 292.7)

Export this scale for Tailwind in the Tailwind colors tool

#CDC7EC 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)#BFCCEE0.021
Deuteranopia (no green cones)#C0CBEB0.020
Tritanopia (no blue cones)#C7CDD30.045
Achromatopsia (no color)#CBCBCB0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDC7EC

    #CDC7EC

    oklch(84.6% 0.051 292.7)

  • #CCD1AA

    #CCD1AA

    oklch(84.7% 0.053 113.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDC7EC

    #CDC7EC

    oklch(84.6% 0.051 292.7)

  • #BBCDEF

    #BBCDEF

    oklch(84.6% 0.052 263.2)

  • #DDC2E1

    #DDC2E1

    oklch(84.6% 0.052 321.9)

Open the analogous palette in the generator

Split complementary

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

  • #CDC7EC

    #CDC7EC

    oklch(84.6% 0.051 292.7)

  • #DDCAA7

    #DDCAA7

    oklch(84.6% 0.051 82.8)

  • #BAD6B7

    #BAD6B7

    oklch(84.7% 0.052 142.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDC7EC

    #CDC7EC

    oklch(84.6% 0.051 292.7)

  • #E9C4AE

    #E9C4AE

    oklch(84.7% 0.052 52.5)

  • #ABD8C9

    #ABD8C9

    oklch(84.6% 0.051 172.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDC7EC

    #CDC7EC

    oklch(84.6% 0.051 292.7)

  • #EDC0BD

    #EDC0BD

    oklch(84.6% 0.052 22.7)

  • #CCD1AA

    #CCD1AA

    oklch(84.7% 0.053 113.5)

  • #A6D7DB

    #A6D7DB

    oklch(84.6% 0.051 202.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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