#CCB7EF

Closest named color: Light Violet (#D6B4FC). oklch(81.6% 0.081 301.8), rgb(204, 183, 239).

Aa

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

About this color

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

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

Values

HEX#CCB7EF
RGBrgb(204, 183, 239)
HSLhsl(263, 64%, 83%)
OKLCHoklch(81.6% 0.081 301.8)

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 #CCB7EF 1.81:1 Fails Lc -37.8 Non-text elements, placeholder text
Black text on #CCB7EF 11.58:1 AAA Lc 70.1 Content text, not long reading
#CCB7EF text on white 1.81:1 Fails Lc 33.7 Non-text elements, placeholder text
#CCB7EF text on black 11.58:1 AAA Lc -68.9 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

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DED3F3

    oklch(88.6% 0.045 301.1)

  4. Step 300

    300 (this color)

    #CCB7EF

    oklch(81.6% 0.081 301.8)

  5. Step 400

    400

    #AF8CE3

    oklch(70.6% 0.129 301.7)

  6. Step 500

    500

    #9C6DDB

    oklch(63.1% 0.164 301.6)

  7. Step 600

    600

    #8852C9

    oklch(55.7% 0.179 301.8)

  8. Step 700

    700

    #7341AE

    oklch(49% 0.168 301.6)

  9. Step 800

    800

    #5E378D

    oklch(42.8% 0.138 301.7)

  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

#CCB7EF 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.046
Deuteranopia (no green cones)#B0C0ED0.043
Tritanopia (no blue cones)#C6BFCA0.064
Achromatopsia (no color)#C0C0C00.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCB7EF

    #CCB7EF

    oklch(81.6% 0.081 301.8)

  • #BACC91

    #BACC91

    oklch(81.7% 0.081 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCB7EF

    #CCB7EF

    oklch(81.6% 0.081 301.8)

  • #B0C0F8

    #B0C0F8

    oklch(81.5% 0.081 272.1)

  • #E2B0DA

    #E2B0DA

    oklch(81.5% 0.08 331.8)

Open the analogous palette in the generator

Split complementary

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

  • #CCB7EF

    #CCB7EF

    oklch(81.6% 0.081 301.8)

  • #D6C286

    #D6C286

    oklch(81.7% 0.081 91.8)

  • #9CD2A9

    #9CD2A9

    oklch(81.5% 0.08 151.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCB7EF

    #CCB7EF

    oklch(81.6% 0.081 301.8)

  • #E9B88D

    #E9B88D

    oklch(81.6% 0.08 62.6)

  • #85D4C6

    #85D4C6

    oklch(81.5% 0.081 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCB7EF

    #CCB7EF

    oklch(81.6% 0.081 301.8)

  • #F2B0A3

    #F2B0A3

    oklch(81.6% 0.08 31.4)

  • #BACC91

    #BACC91

    oklch(81.7% 0.081 122)

  • #82D1E1

    #82D1E1

    oklch(81.5% 0.081 211.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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