#CCABF8

Closest named color: Pale Violet (#CEAEFA). oklch(79.7% 0.112 303.6), rgb(204, 171, 248).

Aa

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

About this color

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

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

Values

HEX#CCABF8
RGBrgb(204, 171, 248)
HSLhsl(266, 85%, 82%)
OKLCHoklch(79.7% 0.112 303.6)

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 #CCABF8 1.95:1 Fails Lc -41.9 Non-text elements, placeholder text
Black text on #CCABF8 10.74:1 AAA Lc 66.4 Content text, not long reading
#CCABF8 text on white 1.95:1 Fails Lc 37.5 Non-text elements, placeholder text
#CCABF8 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FC

    oklch(93.6% 0.032 303.5)

  3. Step 200

    200

    #E1D0FB

    oklch(88.5% 0.061 303.1)

  4. Step 300

    300 (this color)

    #CCABF8

    oklch(79.7% 0.112 303.6)

  5. Step 400

    400

    #B980FA

    oklch(70.7% 0.179 303.7)

  6. Step 500

    500

    #A858F7

    oklch(63.1% 0.229 303.6)

  7. Step 600

    600

    #9433E6

    oklch(55.6% 0.249 303.5)

  8. Step 700

    700

    #7F22C8

    oklch(49.2% 0.232 303.7)

  9. Step 800

    800

    #6721A2

    oklch(42.8% 0.192 303.6)

  10. Step 900

    900

    #532380

    oklch(37.6% 0.149 303.5)

  11. Step 950

    950

    #31164B

    oklch(27% 0.095 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#CCABF8 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)#9BB9FB0.071
Deuteranopia (no green cones)#A1B9F60.066
Tritanopia (no blue cones)#C5B6C70.085
Achromatopsia (no color)#B9B9B90.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCABF8

    #CCABF8

    oklch(79.7% 0.112 303.6)

  • #AEC977

    #AEC977

    oklch(79.7% 0.112 123.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCABF8

    #CCABF8

    oklch(79.7% 0.112 303.6)

  • #A8B8FF

    #A8B8FF

    oklch(79.7% 0.103 274.1)

  • #E9A2DB

    #E9A2DB

    oklch(79.8% 0.111 333.8)

Open the analogous palette in the generator

Split complementary

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

  • #CCABF8

    #CCABF8

    oklch(79.7% 0.112 303.6)

  • #D5BC64

    #D5BC64

    oklch(79.8% 0.112 93.8)

  • #81D29B

    #81D29B

    oklch(79.7% 0.112 153.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCABF8

    #CCABF8

    oklch(79.7% 0.112 303.6)

  • #F0AD6E

    #F0AD6E

    oklch(79.8% 0.112 63.3)

  • #59D4C4

    #59D4C4

    oklch(79.6% 0.112 183.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCABF8

    #CCABF8

    oklch(79.7% 0.112 303.6)

  • #FCA28D

    #FCA28D

    oklch(79.7% 0.112 33.8)

  • #AEC977

    #AEC977

    oklch(79.7% 0.112 123.8)

  • #57CFE8

    #57CFE8

    oklch(79.6% 0.112 213.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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