#CCAAFF

Closest named color: Pale Violet (#CEAEFA). oklch(79.9% 0.123 302.1), rgb(204, 170, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.76:1
White text1.95:1

Values

HEX#CCAAFF
RGBrgb(204, 170, 255)
HSLhsl(264, 100%, 83%)
OKLCHoklch(79.9% 0.123 302.1)

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 #CCAAFF 1.95:1 Fails Lc -41.8 Non-text elements, placeholder text
Black text on #CCAAFF 10.76:1 AAA Lc 66.5 Content text, not long reading
#CCAAFF text on white 1.95:1 Fails Lc 37.4 Non-text elements, placeholder text
#CCAAFF text on black 10.76:1 AAA Lc -65.0 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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FE

    oklch(93.6% 0.035 302.1)

  3. Step 200

    200

    #E1CFFF

    oklch(88.5% 0.068 302.1)

  4. Step 300

    300 (this color)

    #CCAAFF

    oklch(79.9% 0.123 302.1)

  5. Step 400

    400

    #B77FFF

    oklch(70.7% 0.186 302.1)

  6. Step 500

    500

    #A755FF

    oklch(63.1% 0.241 302)

  7. Step 600

    600

    #9523F3

    oklch(55.6% 0.273 302.1)

  8. Step 700

    700

    #7F0CD3

    oklch(49% 0.253 302.1)

  9. Step 800

    800

    #6715AB

    oklch(42.7% 0.21 302)

  10. Step 900

    900

    #541E87

    oklch(37.8% 0.163 302.4)

  11. Step 950

    950

    #31144F

    oklch(27% 0.103 302.5)

Export this scale for Tailwind in the Tailwind colors tool

#CCAAFF 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)#97B9FF0.077
Deuteranopia (no green cones)#9EB9FD0.070
Tritanopia (no blue cones)#C3B7C90.095
Achromatopsia (no color)#B9B9B90.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCAAFF

    #CCAAFF

    oklch(79.9% 0.123 302.1)

  • #B0CA6D

    #B0CA6D

    oklch(79.9% 0.123 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCAAFF

    #CCAAFF

    oklch(79.9% 0.123 302.1)

  • #A6BAFF

    #A6BAFF

    oklch(79.9% 0.101 271.5)

  • #EC9FE0

    #EC9FE0

    oklch(79.8% 0.123 332.3)

Open the analogous palette in the generator

Split complementary

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

  • #CCAAFF

    #CCAAFF

    oklch(79.9% 0.123 302.1)

  • #D9BB58

    #D9BB58

    oklch(79.9% 0.123 92.6)

  • #7DD496

    #7DD496

    oklch(79.9% 0.122 152)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCAAFF

    #CCAAFF

    oklch(79.9% 0.123 302.1)

  • #F6AB66

    #F6AB66

    oklch(80% 0.123 62.2)

  • #4AD7C3

    #4AD7C3

    oklch(79.9% 0.123 181.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCAAFF

    #CCAAFF

    oklch(79.9% 0.123 302.1)

  • #FFA18E

    #FFA18E

    oklch(79.9% 0.116 32.1)

  • #B0CA6D

    #B0CA6D

    oklch(79.9% 0.123 122)

  • #43D2EB

    #43D2EB

    oklch(79.9% 0.123 211.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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