#C5AFEB

Closest named color: Pale Violet (#CEAEFA). oklch(79.3% 0.087 301.2), rgb(197, 175, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.70:1
White text1.96:1

Values

HEX#C5AFEB
RGBrgb(197, 175, 235)
HSLhsl(262, 60%, 80%)
OKLCHoklch(79.3% 0.087 301.2)

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 #C5AFEB 1.96:1 Fails Lc -42.1 Non-text elements, placeholder text
Black text on #C5AFEB 10.70:1 AAA Lc 66.2 Content text, not long reading
#C5AFEB text on white 1.96:1 Fails Lc 37.8 Non-text elements, placeholder text
#C5AFEB text on black 10.70:1 AAA Lc -64.7 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #ECE6F8

    oklch(93.5% 0.025 301.1)

  3. Step 200

    200

    #DED2F5

    oklch(88.4% 0.049 301)

  4. Step 300

    300 (this color)

    #C5AFEB

    oklch(79.3% 0.087 301.2)

  5. Step 400

    400

    #B08AE9

    oklch(70.6% 0.14 301.3)

  6. Step 500

    500

    #9D6AE2

    oklch(63.1% 0.177 301.1)

  7. Step 600

    600

    #894ED0

    oklch(55.7% 0.193 301.2)

  8. Step 700

    700

    #743EB4

    oklch(49.2% 0.179 301)

  9. Step 800

    800

    #5E3491

    oklch(42.6% 0.148 301.1)

  10. Step 900

    900

    #4D2F74

    oklch(37.8% 0.115 301.1)

  11. Step 950

    950

    #2D1C44

    oklch(27% 0.073 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#C5AFEB 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)#A3B9EE0.050
Deuteranopia (no green cones)#A7B9E90.047
Tritanopia (no blue cones)#BFB8C40.069
Achromatopsia (no color)#B9B9B90.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5AFEB

    #C5AFEB

    oklch(79.3% 0.087 301.2)

  • #B3C585

    #B3C585

    oklch(79.4% 0.088 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5AFEB

    #C5AFEB

    oklch(79.3% 0.087 301.2)

  • #A7B9F4

    #A7B9F4

    oklch(79.3% 0.087 271.2)

  • #DDA7D5

    #DDA7D5

    oklch(79.3% 0.088 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #C5AFEB

    #C5AFEB

    oklch(79.3% 0.087 301.2)

  • #D0BA7A

    #D0BA7A

    oklch(79.3% 0.086 91.2)

  • #92CCA0

    #92CCA0

    oklch(79.3% 0.086 151.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5AFEB

    #C5AFEB

    oklch(79.3% 0.087 301.2)

  • #E5AF82

    #E5AF82

    oklch(79.3% 0.087 60.9)

  • #78CEBF

    #78CEBF

    oklch(79.3% 0.087 181.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5AFEB

    #C5AFEB

    oklch(79.3% 0.087 301.2)

  • #EEA79A

    #EEA79A

    oklch(79.3% 0.087 30.6)

  • #B3C585

    #B3C585

    oklch(79.4% 0.088 121.2)

  • #74CBDB

    #74CBDB

    oklch(79.3% 0.087 210.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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