#CCAAFE

Closest named color: Pale Violet (#CEAEFA). oklch(79.8% 0.121 302.3), rgb(204, 170, 254).

Aa

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

About this color

#CCAAFE is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.121 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.013 away. Black text reads best on it, at 10.74:1.

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

Values

HEX#CCAAFE
RGBrgb(204, 170, 254)
HSLhsl(264, 98%, 83%)
OKLCHoklch(79.8% 0.121 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 #CCAAFE 1.95:1 Fails Lc -41.9 Non-text elements, placeholder text
Black text on #CCAAFE 10.74:1 AAA Lc 66.4 Content text, not long reading
#CCAAFE text on white 1.95:1 Fails Lc 37.5 Non-text elements, placeholder text
#CCAAFE text on black 10.74:1 AAA Lc -64.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

    #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)

    #CCAAFE

    oklch(79.8% 0.121 302.3)

  5. Step 400

    400

    #B87FFF

    oklch(70.8% 0.186 302.5)

  6. Step 500

    500

    #A854FF

    oklch(63.1% 0.242 302.4)

  7. Step 600

    600

    #9526F1

    oklch(55.6% 0.269 302.4)

  8. Step 700

    700

    #7F10D2

    oklch(49.1% 0.251 302.2)

  9. Step 800

    800

    #6717AA

    oklch(42.7% 0.208 302.1)

  10. Step 900

    900

    #541E86

    oklch(37.7% 0.162 302.8)

  11. Step 950

    950

    #31144F

    oklch(27% 0.103 302.5)

Export this scale for Tailwind in the Tailwind colors tool

#CCAAFE 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)#98B9FF0.076
Deuteranopia (no green cones)#9EB9FC0.070
Tritanopia (no blue cones)#C4B7C90.094
Achromatopsia (no color)#B9B9B90.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCAAFE

    #CCAAFE

    oklch(79.8% 0.121 302.3)

  • #AFCA6E

    #AFCA6E

    oklch(79.8% 0.122 122.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCAAFE

    #CCAAFE

    oklch(79.8% 0.121 302.3)

  • #A7B9FF

    #A7B9FF

    oklch(79.8% 0.102 272.8)

  • #EBA0DF

    #EBA0DF

    oklch(79.8% 0.12 332.5)

Open the analogous palette in the generator

Split complementary

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

  • #CCAAFE

    #CCAAFE

    oklch(79.8% 0.121 302.3)

  • #D9BB5A

    #D9BB5A

    oklch(79.9% 0.121 92.3)

  • #7DD497

    #7DD497

    oklch(79.9% 0.121 152.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCAAFE

    #CCAAFE

    oklch(79.8% 0.121 302.3)

  • #F5AB67

    #F5AB67

    oklch(79.9% 0.121 62.2)

  • #4CD6C3

    #4CD6C3

    oklch(79.7% 0.121 182.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCAAFE

    #CCAAFE

    oklch(79.8% 0.121 302.3)

  • #FFA18D

    #FFA18D

    oklch(79.9% 0.116 32.7)

  • #AFCA6E

    #AFCA6E

    oklch(79.8% 0.122 122.6)

  • #46D1EB

    #46D1EB

    oklch(79.7% 0.121 212.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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