#CCABF7

Closest named color: Pale Violet (#CEAEFA). oklch(79.7% 0.111 303.9), rgb(204, 171, 247).

Aa

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

About this color

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

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

Values

HEX#CCABF7
RGBrgb(204, 171, 247)
HSLhsl(266, 83%, 82%)
OKLCHoklch(79.7% 0.111 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 #CCABF7 1.95:1 Fails Lc -42.0 Non-text elements, placeholder text
Black text on #CCABF7 10.73:1 AAA Lc 66.3 Content text, not long reading
#CCABF7 text on white 1.95:1 Fails Lc 37.6 Non-text elements, placeholder text
#CCABF7 text on black 10.73:1 AAA Lc -64.8 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

    #EEE5FC

    oklch(93.6% 0.032 303.5)

  3. Step 200

    200

    #E2D0FB

    oklch(88.6% 0.061 304.2)

  4. Step 300

    300 (this color)

    #CCABF7

    oklch(79.7% 0.111 303.9)

  5. Step 400

    400

    #B980F9

    oklch(70.7% 0.178 304)

  6. Step 500

    500

    #A859F6

    oklch(63.1% 0.226 303.7)

  7. Step 600

    600

    #9435E4

    oklch(55.6% 0.245 303.8)

  8. Step 700

    700

    #7F24C6

    oklch(49.1% 0.228 304.1)

  9. Step 800

    800

    #6722A0

    oklch(42.7% 0.189 304.1)

  10. Step 900

    900

    #53247F

    oklch(37.7% 0.147 303.7)

  11. Step 950

    950

    #31174B

    oklch(27.2% 0.093 303.8)

Export this scale for Tailwind in the Tailwind colors tool

#CCABF7 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)#9BB8FA0.070
Deuteranopia (no green cones)#A2B9F50.065
Tritanopia (no blue cones)#C5B6C60.085
Achromatopsia (no color)#B9B9B90.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCABF7

    #CCABF7

    oklch(79.7% 0.111 303.9)

  • #AEC978

    #AEC978

    oklch(79.7% 0.11 123.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCABF7

    #CCABF7

    oklch(79.7% 0.111 303.9)

  • #A8B8FF

    #A8B8FF

    oklch(79.7% 0.103 274.1)

  • #E8A2DA

    #E8A2DA

    oklch(79.7% 0.11 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #CCABF7

    #CCABF7

    oklch(79.7% 0.111 303.9)

  • #D4BC65

    #D4BC65

    oklch(79.8% 0.111 94.3)

  • #81D29C

    #81D29C

    oklch(79.7% 0.111 154)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCABF7

    #CCABF7

    oklch(79.7% 0.111 303.9)

  • #EFAD6E

    #EFAD6E

    oklch(79.7% 0.111 63.8)

  • #5BD4C5

    #5BD4C5

    oklch(79.7% 0.111 184.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCABF7

    #CCABF7

    oklch(79.7% 0.111 303.9)

  • #FBA28D

    #FBA28D

    oklch(79.6% 0.111 34)

  • #AEC978

    #AEC978

    oklch(79.7% 0.11 123.9)

  • #59CFE8

    #59CFE8

    oklch(79.7% 0.111 214)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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