#CCA8EF

Closest named color: Pale Violet (#CEAEFA). oklch(78.8% 0.106 307.3), rgb(204, 168, 239).

Aa

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

About this color

#CCA8EF is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.106 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.019 away. Black text reads best on it, at 10.41:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.41:1
White text2.01:1

Values

HEX#CCA8EF
RGBrgb(204, 168, 239)
HSLhsl(270, 69%, 80%)
OKLCHoklch(78.8% 0.106 307.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 #CCA8EF 2.01:1 Fails Lc -43.6 Non-text elements, placeholder text
Black text on #CCA8EF 10.41:1 AAA Lc 64.8 Content text, not long reading
#CCA8EF text on white 2.01:1 Fails Lc 39.1 Non-text elements, placeholder text
#CCA8EF text on black 10.41:1 AAA Lc -63.3 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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5FA

    oklch(93.6% 0.03 307.1)

  3. Step 200

    200

    #E3D0F8

    oklch(88.6% 0.058 306.7)

  4. Step 300

    300 (this color)

    #CCA8EF

    oklch(78.8% 0.106 307.3)

  5. Step 400

    400

    #BD80F1

    oklch(70.7% 0.169 307.5)

  6. Step 500

    500

    #AD5AEC

    oklch(63.1% 0.216 307.5)

  7. Step 600

    600

    #9838DA

    oklch(55.6% 0.234 307.2)

  8. Step 700

    700

    #8227BE

    oklch(49.1% 0.219 307.1)

  9. Step 800

    800

    #6A2499

    oklch(42.7% 0.18 307.5)

  10. Step 900

    900

    #56257A

    oklch(37.8% 0.14 307.4)

  11. Step 950

    950

    #321747

    oklch(27% 0.088 307.4)

Export this scale for Tailwind in the Tailwind colors tool

#CCA8EF 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)#9BB5F20.071
Deuteranopia (no green cones)#A2B7ED0.067
Tritanopia (no blue cones)#C7B2C10.079
Achromatopsia (no color)#B7B7B70.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA8EF

    #CCA8EF

    oklch(78.8% 0.106 307.3)

  • #A7C77C

    #A7C77C

    oklch(78.8% 0.106 127.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA8EF

    #CCA8EF

    oklch(78.8% 0.106 307.3)

  • #A9B4FD

    #A9B4FD

    oklch(78.9% 0.105 277.1)

  • #E6A0D2

    #E6A0D2

    oklch(78.9% 0.105 337.6)

Open the analogous palette in the generator

Split complementary

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

  • #CCA8EF

    #CCA8EF

    oklch(78.8% 0.106 307.3)

  • #CDBB68

    #CDBB68

    oklch(79% 0.106 97.4)

  • #7DCF9F

    #7DCF9F

    oklch(78.9% 0.106 157.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA8EF

    #CCA8EF

    oklch(78.8% 0.106 307.3)

  • #E7AD6E

    #E7AD6E

    oklch(78.8% 0.105 67.6)

  • #5DD0C6

    #5DD0C6

    oklch(78.9% 0.105 187.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA8EF

    #CCA8EF

    oklch(78.8% 0.106 307.3)

  • #F5A289

    #F5A289

    oklch(78.8% 0.105 37.5)

  • #A7C77C

    #A7C77C

    oklch(78.8% 0.106 127.5)

  • #5FCBE6

    #5FCBE6

    oklch(78.9% 0.106 216.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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