#CCB8EC

Closest named color: Light Violet (#D6B4FC). oklch(81.7% 0.075 302.3), rgb(204, 184, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.63:1
White text1.80:1

Values

HEX#CCB8EC
RGBrgb(204, 184, 236)
HSLhsl(263, 58%, 82%)
OKLCHoklch(81.7% 0.075 302.3)

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 #CCB8EC 1.80:1 Fails Lc -37.6 Non-text elements, placeholder text
Black text on #CCB8EC 11.63:1 AAA Lc 70.3 Content text, not long reading
#CCB8EC text on white 1.80:1 Fails Lc 33.5 Non-text elements, placeholder text
#CCB8EC text on black 11.63:1 AAA Lc -69.1 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

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3F1

    oklch(88.5% 0.042 302.2)

  4. Step 300

    300 (this color)

    #CCB8EC

    oklch(81.7% 0.075 302.3)

  5. Step 400

    400

    #AF8EDF

    oklch(70.8% 0.12 302.2)

  6. Step 500

    500

    #9C6FD5

    oklch(63.1% 0.154 302.6)

  7. Step 600

    600

    #8755C3

    oklch(55.6% 0.167 302.2)

  8. Step 700

    700

    #7245A8

    oklch(49.1% 0.154 302)

  9. Step 800

    800

    #5D3988

    oklch(42.7% 0.128 302.3)

  10. Step 900

    900

    #4C326D

    oklch(37.7% 0.1 302.2)

  11. Step 950

    950

    #2C1E40

    oklch(27% 0.063 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#CCB8EC 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)#AEC0EE0.043
Deuteranopia (no green cones)#B2C1EA0.041
Tritanopia (no blue cones)#C7BFCA0.058
Achromatopsia (no color)#C1C1C10.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCB8EC

    #CCB8EC

    oklch(81.7% 0.075 302.3)

  • #BACB95

    #BACB95

    oklch(81.6% 0.075 122.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCB8EC

    #CCB8EC

    oklch(81.7% 0.075 302.3)

  • #B2C1F4

    #B2C1F4

    oklch(81.7% 0.074 271.9)

  • #E1B2D9

    #E1B2D9

    oklch(81.8% 0.075 332.1)

Open the analogous palette in the generator

Split complementary

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

  • #CCB8EC

    #CCB8EC

    oklch(81.7% 0.075 302.3)

  • #D4C28B

    #D4C28B

    oklch(81.6% 0.075 92.1)

  • #9FD2AC

    #9FD2AC

    oklch(81.8% 0.075 152.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCB8EC

    #CCB8EC

    oklch(81.7% 0.075 302.3)

  • #E7B991

    #E7B991

    oklch(81.7% 0.075 62.5)

  • #8BD3C7

    #8BD3C7

    oklch(81.6% 0.074 182.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCB8EC

    #CCB8EC

    oklch(81.7% 0.075 302.3)

  • #F0B2A5

    #F0B2A5

    oklch(81.8% 0.075 32.1)

  • #BACB95

    #BACB95

    oklch(81.6% 0.075 122.3)

  • #88D0E0

    #88D0E0

    oklch(81.6% 0.075 213.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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