#CCB7EA

Closest named color: Light Violet (#D6B4FC). oklch(81.4% 0.074 303.6), rgb(204, 183, 234).

Aa

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

About this color

#CCB7EA is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.074 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.033 away. Black text reads best on it, at 11.52:1.

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

Values

HEX#CCB7EA
RGBrgb(204, 183, 234)
HSLhsl(265, 55%, 82%)
OKLCHoklch(81.4% 0.074 303.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 #CCB7EA 1.82:1 Fails Lc -38.1 Non-text elements, placeholder text
Black text on #CCB7EA 11.52:1 AAA Lc 69.9 Content text, not long reading
#CCB7EA text on white 1.82:1 Fails Lc 34.0 Non-text elements, placeholder text
#CCB7EA text on black 11.52:1 AAA Lc -68.6 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

    #DFD3F0

    oklch(88.5% 0.041 304.3)

  4. Step 300

    300 (this color)

    #CCB7EA

    oklch(81.4% 0.074 303.6)

  5. Step 400

    400

    #B08EDD

    oklch(70.8% 0.118 303.3)

  6. Step 500

    500

    #9D6FD3

    oklch(63% 0.151 303.6)

  7. Step 600

    600

    #8855C0

    oklch(55.5% 0.164 303.5)

  8. Step 700

    700

    #7445A6

    oklch(49.2% 0.152 303.6)

  9. Step 800

    800

    #5E3987

    oklch(42.7% 0.127 303.3)

  10. Step 900

    900

    #4D326C

    oklch(37.7% 0.099 303.5)

  11. Step 950

    950

    #2D1E3F

    oklch(27.1% 0.062 303.5)

Export this scale for Tailwind in the Tailwind colors tool

#CCB7EA 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)#AEBFEC0.043
Deuteranopia (no green cones)#B1C0E80.042
Tritanopia (no blue cones)#C8BEC80.058
Achromatopsia (no color)#C0C0C00.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCB7EA

    #CCB7EA

    oklch(81.4% 0.074 303.6)

  • #B8CB96

    #B8CB96

    oklch(81.4% 0.074 124)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCB7EA

    #CCB7EA

    oklch(81.4% 0.074 303.6)

  • #B2C0F3

    #B2C0F3

    oklch(81.5% 0.074 272.7)

  • #E0B1D7

    #E0B1D7

    oklch(81.4% 0.074 333)

Open the analogous palette in the generator

Split complementary

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

  • #CCB7EA

    #CCB7EA

    oklch(81.4% 0.074 303.6)

  • #D2C28B

    #D2C28B

    oklch(81.4% 0.074 93.8)

  • #9DD1AC

    #9DD1AC

    oklch(81.4% 0.075 153.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCB7EA

    #CCB7EA

    oklch(81.4% 0.074 303.6)

  • #E5B890

    #E5B890

    oklch(81.3% 0.075 63.1)

  • #8AD2C7

    #8AD2C7

    oklch(81.3% 0.074 183.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCB7EA

    #CCB7EA

    oklch(81.4% 0.074 303.6)

  • #EEB1A3

    #EEB1A3

    oklch(81.3% 0.075 33.3)

  • #B8CB96

    #B8CB96

    oklch(81.4% 0.074 124)

  • #89CFDF

    #89CFDF

    oklch(81.4% 0.074 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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