#CDC7FF

Closest named color: Light Periwinkle (#C1C6FC). oklch(85.3% 0.078 289.6), rgb(205, 199, 255).

Aa

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

About this color

#CDC7FF is a light, moderately saturated purple. In OKLCH its lightness is 85%, its chroma 0.078 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Light Periwinkle (#C1C6FC), ΔE 0.017 away. Black text reads best on it, at 13.20:1.

Hue familyPurples
Lightnesslight (85%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameLight Periwinkle (#C1C6FC)
Black text13.20:1
White text1.58:1

Values

HEX#CDC7FF
RGBrgb(205, 199, 255)
HSLhsl(246, 100%, 89%)
OKLCHoklch(85.3% 0.078 289.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 #CDC7FF 1.58:1 Fails Lc -30.2 Non-text elements, placeholder text
Black text on #CDC7FF 13.20:1 AAA Lc 77.1 Fine for body text
#CDC7FF text on white 1.58:1 Fails Lc 26.7 Dividers and decoration only
#CDC7FF text on black 13.20:1 AAA Lc -76.3 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 200.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200 (this color)

    #CDC7FF

    oklch(85.3% 0.078 289.6)

  4. Step 300

    300

    #BFB6FD

    oklch(80.9% 0.1 289.8)

  5. Step 400

    400

    #A08DFC

    oklch(70.8% 0.159 289.6)

  6. Step 500

    500

    #8B6BFA

    oklch(63.1% 0.204 289.5)

  7. Step 600

    600

    #774DE9

    oklch(55.6% 0.222 289.5)

  8. Step 700

    700

    #653CCA

    oklch(49.1% 0.206 289.9)

  9. Step 800

    800

    #5233A4

    oklch(42.7% 0.172 289.7)

  10. Step 900

    900

    #432F82

    oklch(37.7% 0.133 289.6)

  11. Step 950

    950

    #271C4C

    oklch(26.9% 0.085 290)

Export this scale for Tailwind in the Tailwind colors tool

#CDC7FF 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)#BACEFF0.029
Deuteranopia (no green cones)#B9CCFD0.029
Tritanopia (no blue cones)#C3D0DA0.066
Achromatopsia (no color)#CDCDCD0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDC7FF

    #CDC7FF

    oklch(85.3% 0.078 289.6)

  • #D2D499

    #D2D499

    oklch(85.4% 0.077 109.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDC7FF

    #CDC7FF

    oklch(85.3% 0.078 289.6)

  • #B3D0FF

    #B3D0FF

    oklch(85.2% 0.073 260)

  • #E6BFEF

    #E6BFEF

    oklch(85.3% 0.078 319.9)

Open the analogous palette in the generator

Split complementary

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

  • #CDC7FF

    #CDC7FF

    oklch(85.3% 0.078 289.6)

  • #EACA95

    #EACA95

    oklch(85.4% 0.078 80)

  • #B5DCAB

    #B5DCAB

    oklch(85.4% 0.078 139.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDC7FF

    #CDC7FF

    oklch(85.3% 0.078 289.6)

  • #F9C1A2

    #F9C1A2

    oklch(85.4% 0.077 50.3)

  • #9BE0C7

    #9BE0C7

    oklch(85.4% 0.078 169.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDC7FF

    #CDC7FF

    oklch(85.3% 0.078 289.6)

  • #FEBBBA

    #FEBBBA

    oklch(85.3% 0.078 19.8)

  • #D2D499

    #D2D499

    oklch(85.4% 0.077 109.6)

  • #90DFE2

    #90DFE2

    oklch(85.4% 0.078 198.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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