#CCB7ED

Closest named color: Light Violet (#D6B4FC). oklch(81.5% 0.078 302.5), rgb(204, 183, 237).

Aa

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

About this color

#CCB7ED is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.078 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.029 away. Black text reads best on it, at 11.56:1.

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

Values

HEX#CCB7ED
RGBrgb(204, 183, 237)
HSLhsl(263, 60%, 82%)
OKLCHoklch(81.5% 0.078 302.5)

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

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DED3F1

    oklch(88.5% 0.042 302.2)

  4. Step 300

    300 (this color)

    #CCB7ED

    oklch(81.5% 0.078 302.5)

  5. Step 400

    400

    #B08DE1

    oklch(70.8% 0.125 302.5)

  6. Step 500

    500

    #9D6ED8

    oklch(63.2% 0.159 302.6)

  7. Step 600

    600

    #8853C5

    oklch(55.6% 0.173 302.6)

  8. Step 700

    700

    #7343AB

    oklch(49.1% 0.161 302.1)

  9. Step 800

    800

    #5E388A

    oklch(42.8% 0.133 302.5)

  10. Step 900

    900

    #4D316E

    oklch(37.7% 0.104 303)

  11. Step 950

    950

    #2D1D41

    oklch(27% 0.067 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#CCB7ED 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)#ADC0EF0.045
Deuteranopia (no green cones)#B0C0EB0.043
Tritanopia (no blue cones)#C7BFCA0.061
Achromatopsia (no color)#C0C0C00.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCB7ED

    #CCB7ED

    oklch(81.5% 0.078 302.5)

  • #B9CB93

    #B9CB93

    oklch(81.4% 0.078 122.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCB7ED

    #CCB7ED

    oklch(81.5% 0.078 302.5)

  • #B1C0F6

    #B1C0F6

    oklch(81.5% 0.078 272.5)

  • #E2B0D9

    #E2B0D9

    oklch(81.5% 0.079 332.6)

Open the analogous palette in the generator

Split complementary

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

  • #CCB7ED

    #CCB7ED

    oklch(81.5% 0.078 302.5)

  • #D4C288

    #D4C288

    oklch(81.5% 0.078 92.9)

  • #9DD2AA

    #9DD2AA

    oklch(81.6% 0.079 151.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCB7ED

    #CCB7ED

    oklch(81.5% 0.078 302.5)

  • #E8B88E

    #E8B88E

    oklch(81.6% 0.079 62.6)

  • #87D4C7

    #87D4C7

    oklch(81.6% 0.079 182.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCB7ED

    #CCB7ED

    oklch(81.5% 0.078 302.5)

  • #F1B1A3

    #F1B1A3

    oklch(81.6% 0.078 32.7)

  • #B9CB93

    #B9CB93

    oklch(81.4% 0.078 122.6)

  • #85D0E0

    #85D0E0

    oklch(81.4% 0.078 212.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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