#C5ABFF

Closest named color: Pale Violet (#CEAEFA). oklch(79.4% 0.12 297.9), rgb(197, 171, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.64:1
White text1.97:1

Values

HEX#C5ABFF
RGBrgb(197, 171, 255)
HSLhsl(259, 100%, 84%)
OKLCHoklch(79.4% 0.12 297.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 #C5ABFF 1.97:1 Fails Lc -42.4 Non-text elements, placeholder text
Black text on #C5ABFF 10.64:1 AAA Lc 65.9 Content text, not long reading
#C5ABFF text on white 1.97:1 Fails Lc 38.0 Non-text elements, placeholder text
#C5ABFF text on black 10.64:1 AAA Lc -64.4 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

    #F6F3FF

    oklch(97% 0.016 297.5)

  2. Step 100

    100

    #ECE5FF

    oklch(93.5% 0.036 298)

  3. Step 200

    200

    #DED1FF

    oklch(88.6% 0.064 298)

  4. Step 300

    300 (this color)

    #C5ABFF

    oklch(79.4% 0.12 297.9)

  5. Step 400

    400

    #AF84FF

    oklch(70.7% 0.177 297.9)

  6. Step 500

    500

    #9E5DFF

    oklch(63.2% 0.229 297.9)

  7. Step 600

    600

    #8C2FF6

    oklch(55.6% 0.266 297.9)

  8. Step 700

    700

    #771CD6

    oklch(49% 0.247 297.8)

  9. Step 800

    800

    #611EAD

    oklch(42.8% 0.204 298)

  10. Step 900

    900

    #4E2289

    oklch(37.7% 0.16 297.6)

  11. Step 950

    950

    #2E1650

    oklch(27% 0.101 298.3)

Export this scale for Tailwind in the Tailwind colors tool

#C5ABFF 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)#97B9FF0.067
Deuteranopia (no green cones)#9BB8FD0.063
Tritanopia (no blue cones)#BAB9CA0.096
Achromatopsia (no color)#B8B8B80.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5ABFF

    #C5ABFF

    oklch(79.4% 0.12 297.9)

  • #B5C66A

    #B5C66A

    oklch(79.3% 0.119 117.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5ABFF

    #C5ABFF

    oklch(79.4% 0.12 297.9)

  • #9FBAFF

    #9FBAFF

    oklch(79.5% 0.103 267.6)

  • #E6A0E3

    #E6A0E3

    oklch(79.5% 0.12 328.1)

Open the analogous palette in the generator

Split complementary

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

  • #C5ABFF

    #C5ABFF

    oklch(79.4% 0.12 297.9)

  • #DCB75A

    #DCB75A

    oklch(79.4% 0.12 87.8)

  • #85D190

    #85D190

    oklch(79.4% 0.119 147.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5ABFF

    #C5ABFF

    oklch(79.4% 0.12 297.9)

  • #F6A86B

    #F6A86B

    oklch(79.5% 0.12 57.9)

  • #53D5BC

    #53D5BC

    oklch(79.4% 0.12 178.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5ABFF

    #C5ABFF

    oklch(79.4% 0.12 297.9)

  • #FF9E91

    #FF9E91

    oklch(79.5% 0.118 28.2)

  • #B5C66A

    #B5C66A

    oklch(79.3% 0.119 117.8)

  • #44D1E4

    #44D1E4

    oklch(79.4% 0.12 208.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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