#CCAFFB

Closest named color: Pale Violet (#CEAEFA). oklch(80.6% 0.109 301.5), rgb(204, 175, 251).

Aa

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

About this color

#CCAFFB is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.109 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.004 away. Black text reads best on it, at 11.09:1.

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text11.09:1
White text1.89:1

Values

HEX#CCAFFB
RGBrgb(204, 175, 251)
HSLhsl(263, 90%, 84%)
OKLCHoklch(80.6% 0.109 301.5)

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 #CCAFFB 1.89:1 Fails Lc -40.2 Non-text elements, placeholder text
Black text on #CCAFFB 11.09:1 AAA Lc 67.9 Content text, not long reading
#CCAFFB text on white 1.89:1 Fails Lc 35.9 Non-text elements, placeholder text
#CCAFFB text on black 11.09:1 AAA Lc -66.6 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE5FC

    oklch(93.5% 0.032 301.6)

  3. Step 200

    200

    #E0D0FC

    oklch(88.5% 0.062 301.7)

  4. Step 300

    300 (this color)

    #CCAFFB

    oklch(80.6% 0.109 301.5)

  5. Step 400

    400

    #B582FA

    oklch(70.7% 0.175 301.7)

  6. Step 500

    500

    #A45CF7

    oklch(63.1% 0.223 301.7)

  7. Step 600

    600

    #9039E6

    oklch(55.6% 0.243 301.6)

  8. Step 700

    700

    #7B28C8

    oklch(49.1% 0.226 301.7)

  9. Step 800

    800

    #6325A2

    oklch(42.7% 0.187 301.2)

  10. Step 900

    900

    #512580

    oklch(37.6% 0.146 301.9)

  11. Step 950

    950

    #2F174B

    oklch(26.9% 0.093 301.7)

Export this scale for Tailwind in the Tailwind colors tool

#CCAFFB 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)#9FBCFE0.065
Deuteranopia (no green cones)#A4BCF90.061
Tritanopia (no blue cones)#C4BBCA0.087
Achromatopsia (no color)#BCBCBC0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCAFFB

    #CCAFFB

    oklch(80.6% 0.109 301.5)

  • #B4CB79

    #B4CB79

    oklch(80.6% 0.11 121.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCAFFB

    #CCAFFB

    oklch(80.6% 0.109 301.5)

  • #A9BCFF

    #A9BCFF

    oklch(80.5% 0.098 271.9)

  • #E9A5E0

    #E9A5E0

    oklch(80.5% 0.11 331.2)

Open the analogous palette in the generator

Split complementary

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

  • #CCAFFB

    #CCAFFB

    oklch(80.6% 0.109 301.5)

  • #D9BD69

    #D9BD69

    oklch(80.5% 0.109 91.4)

  • #89D49C

    #89D49C

    oklch(80.6% 0.109 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCAFFB

    #CCAFFB

    oklch(80.6% 0.109 301.5)

  • #F3AF74

    #F3AF74

    oklch(80.6% 0.11 61.2)

  • #62D7C4

    #62D7C4

    oklch(80.6% 0.11 181.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCAFFB

    #CCAFFB

    oklch(80.6% 0.109 301.5)

  • #FEA594

    #FEA594

    oklch(80.6% 0.109 31.4)

  • #B4CB79

    #B4CB79

    oklch(80.6% 0.11 121.7)

  • #5CD2E8

    #5CD2E8

    oklch(80.5% 0.109 211.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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