#C5A7FF

Closest named color: Lilac (#CEA2FD). oklch(78.7% 0.126 299.2), rgb(197, 167, 255).

Aa

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

About this color

#C5A7FF is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.126 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.017 away. Black text reads best on it, at 10.34:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.34:1
White text2.02:1

Values

HEX#C5A7FF
RGBrgb(197, 167, 255)
HSLhsl(260, 100%, 83%)
OKLCHoklch(78.7% 0.126 299.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 #C5A7FF 2.02:1 Fails Lc -43.9 Non-text elements, placeholder text
Black text on #C5A7FF 10.34:1 AAA Lc 64.5 Content text, not long reading
#C5A7FF text on white 2.02:1 Fails Lc 39.4 Non-text elements, placeholder text
#C5A7FF text on black 10.34:1 AAA Lc -62.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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EDE5FF

    oklch(93.6% 0.036 299.7)

  3. Step 200

    200

    #DFD0FF

    oklch(88.5% 0.066 299.6)

  4. Step 300

    300 (this color)

    #C5A7FF

    oklch(78.7% 0.126 299.2)

  5. Step 400

    400

    #B183FF

    oklch(70.7% 0.179 298.9)

  6. Step 500

    500

    #A15AFF

    oklch(63.1% 0.234 299.4)

  7. Step 600

    600

    #9021FB

    oklch(55.6% 0.28 299)

  8. Step 700

    700

    #7B07DB

    oklch(49.1% 0.261 299)

  9. Step 800

    800

    #6413B1

    oklch(42.8% 0.216 299.1)

  10. Step 900

    900

    #511D8C

    oklch(37.7% 0.169 299.2)

  11. Step 950

    950

    #2F1452

    oklch(27% 0.107 299)

Export this scale for Tailwind in the Tailwind colors tool

#C5A7FF 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)#92B6FF0.074
Deuteranopia (no green cones)#97B5FD0.069
Tritanopia (no blue cones)#BAB5C70.100
Achromatopsia (no color)#B6B6B60.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5A7FF

    #C5A7FF

    oklch(78.7% 0.126 299.2)

  • #B1C563

    #B1C563

    oklch(78.7% 0.126 118.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5A7FF

    #C5A7FF

    oklch(78.7% 0.126 299.2)

  • #9EB7FF

    #9EB7FF

    oklch(78.8% 0.107 269.2)

  • #E69CE1

    #E69CE1

    oklch(78.7% 0.125 329)

Open the analogous palette in the generator

Split complementary

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

  • #C5A7FF

    #C5A7FF

    oklch(78.7% 0.126 299.2)

  • #DAB550

    #DAB550

    oklch(78.7% 0.126 89)

  • #7CD08D

    #7CD08D

    oklch(78.7% 0.126 149.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5A7FF

    #C5A7FF

    oklch(78.7% 0.126 299.2)

  • #F5A562

    #F5A562

    oklch(78.7% 0.126 59.4)

  • #44D4BB

    #44D4BB

    oklch(78.8% 0.126 178.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5A7FF

    #C5A7FF

    oklch(78.7% 0.126 299.2)

  • #FF9A8B

    #FF9A8B

    oklch(78.7% 0.124 29.2)

  • #B1C563

    #B1C563

    oklch(78.7% 0.126 118.9)

  • #33CFE5

    #33CFE5

    oklch(78.7% 0.126 209.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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