#CCABFC

Closest named color: Pale Violet (#CEAEFA). oklch(79.9% 0.117 302.5), rgb(204, 171, 252).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.79:1
White text1.94:1

Values

HEX#CCABFC
RGBrgb(204, 171, 252)
HSLhsl(264, 93%, 83%)
OKLCHoklch(79.9% 0.117 302.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 #CCABFC 1.94:1 Fails Lc -41.6 Non-text elements, placeholder text
Black text on #CCABFC 10.79:1 AAA Lc 66.6 Content text, not long reading
#CCABFC text on white 1.94:1 Fails Lc 37.3 Non-text elements, placeholder text
#CCABFC text on black 10.79:1 AAA Lc -65.2 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

    #EEE5FD

    oklch(93.6% 0.033 302.7)

  3. Step 200

    200

    #E1CFFD

    oklch(88.4% 0.065 302.9)

  4. Step 300

    300 (this color)

    #CCABFC

    oklch(79.9% 0.117 302.5)

  5. Step 400

    400

    #B87FFF

    oklch(70.8% 0.186 302.5)

  6. Step 500

    500

    #A855FE

    oklch(63.2% 0.24 302.5)

  7. Step 600

    600

    #942DED

    oklch(55.6% 0.26 302.4)

  8. Step 700

    700

    #7E1ACE

    oklch(49% 0.242 302.4)

  9. Step 800

    800

    #671CA6

    oklch(42.7% 0.2 302.9)

  10. Step 900

    900

    #532184

    oklch(37.7% 0.156 302.4)

  11. Step 950

    950

    #30154D

    oklch(26.9% 0.099 302.3)

Export this scale for Tailwind in the Tailwind colors tool

#CCABFC 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)#9AB9FF0.072
Deuteranopia (no green cones)#A0BAFA0.068
Tritanopia (no blue cones)#C4B7C80.091
Achromatopsia (no color)#BABABA0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCABFC

    #CCABFC

    oklch(79.9% 0.117 302.5)

  • #B0CA72

    #B0CA72

    oklch(80% 0.118 122.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCABFC

    #CCABFC

    oklch(79.9% 0.117 302.5)

  • #A7BAFF

    #A7BAFF

    oklch(80% 0.1 272.1)

  • #EAA1DE

    #EAA1DE

    oklch(79.9% 0.116 332.6)

Open the analogous palette in the generator

Split complementary

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

  • #CCABFC

    #CCABFC

    oklch(79.9% 0.117 302.5)

  • #D8BB5F

    #D8BB5F

    oklch(79.9% 0.117 92.1)

  • #80D399

    #80D399

    oklch(79.8% 0.116 152.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCABFC

    #CCABFC

    oklch(79.9% 0.117 302.5)

  • #F3AC6B

    #F3AC6B

    oklch(79.9% 0.117 62.4)

  • #53D6C4

    #53D6C4

    oklch(79.9% 0.117 182.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCABFC

    #CCABFC

    oklch(79.9% 0.117 302.5)

  • #FFA18D

    #FFA18D

    oklch(79.9% 0.116 32.7)

  • #B0CA72

    #B0CA72

    oklch(80% 0.118 122.6)

  • #4ED1EA

    #4ED1EA

    oklch(79.9% 0.117 212.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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