#CCA8FA

Closest named color: Pale Violet (#CEAEFA). oklch(79.3% 0.119 303.9), rgb(204, 168, 250).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.54:1
White text1.99:1

Values

HEX#CCA8FA
RGBrgb(204, 168, 250)
HSLhsl(266, 89%, 82%)
OKLCHoklch(79.3% 0.119 303.9)

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 #CCA8FA 1.99:1 Fails Lc -42.9 Non-text elements, placeholder text
Black text on #CCA8FA 10.54:1 AAA Lc 65.5 Content text, not long reading
#CCA8FA text on white 1.99:1 Fails Lc 38.4 Non-text elements, placeholder text
#CCA8FA text on black 10.54:1 AAA Lc -63.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

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #EFE5FD

    oklch(93.7% 0.034 304.5)

  3. Step 200

    200

    #E2CFFE

    oklch(88.5% 0.067 303.4)

  4. Step 300

    300 (this color)

    #CCA8FA

    oklch(79.3% 0.119 303.9)

  5. Step 400

    400

    #BB7DFF

    oklch(70.7% 0.19 304)

  6. Step 500

    500

    #AB52FE

    oklch(63.2% 0.244 303.8)

  7. Step 600

    600

    #9727ED

    oklch(55.6% 0.265 303.8)

  8. Step 700

    700

    #8112CE

    oklch(49% 0.247 303.8)

  9. Step 800

    800

    #6918A7

    oklch(42.8% 0.204 303.8)

  10. Step 900

    900

    #551F84

    oklch(37.7% 0.159 303.9)

  11. Step 950

    950

    #32144D

    oklch(27% 0.101 304.6)

Export this scale for Tailwind in the Tailwind colors tool

#CCA8FA 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)#97B7FD0.077
Deuteranopia (no green cones)#9EB8F80.072
Tritanopia (no blue cones)#C5B4C60.091
Achromatopsia (no color)#B8B8B80.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA8FA

    #CCA8FA

    oklch(79.3% 0.119 303.9)

  • #ACC970

    #ACC970

    oklch(79.4% 0.12 123.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA8FA

    #CCA8FA

    oklch(79.3% 0.119 303.9)

  • #A6B7FF

    #A6B7FF

    oklch(79.3% 0.104 273.6)

  • #EA9EDB

    #EA9EDB

    oklch(79.3% 0.119 334)

Open the analogous palette in the generator

Split complementary

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

  • #CCA8FA

    #CCA8FA

    oklch(79.3% 0.119 303.9)

  • #D5BA5A

    #D5BA5A

    oklch(79.3% 0.12 93.8)

  • #7AD298

    #7AD298

    oklch(79.3% 0.119 153.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA8FA

    #CCA8FA

    oklch(79.3% 0.119 303.9)

  • #F1AA65

    #F1AA65

    oklch(79.2% 0.12 63.8)

  • #4BD4C4

    #4BD4C4

    oklch(79.2% 0.119 184.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA8FA

    #CCA8FA

    oklch(79.3% 0.119 303.9)

  • #FE9E88

    #FE9E88

    oklch(79.2% 0.12 33.7)

  • #ACC970

    #ACC970

    oklch(79.4% 0.12 123.9)

  • #49CFEA

    #49CFEA

    oklch(79.3% 0.119 213.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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