#C5A7FA

Closest named color: Lilac (#CEA2FD). oklch(78.5% 0.119 300.3), rgb(197, 167, 250).

Aa

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

About this color

#C5A7FA is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.119 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.019 away. Black text reads best on it, at 10.28:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.28:1
White text2.04:1

Values

HEX#C5A7FA
RGBrgb(197, 167, 250)
HSLhsl(262, 89%, 82%)
OKLCHoklch(78.5% 0.119 300.3)

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 #C5A7FA 2.04:1 Fails Lc -44.2 Non-text elements, placeholder text
Black text on #C5A7FA 10.28:1 AAA Lc 64.2 Content text, not long reading
#C5A7FA text on white 2.04:1 Fails Lc 39.7 Non-text elements, placeholder text
#C5A7FA text on black 10.28:1 AAA Lc -62.6 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

    #EDE5FE

    oklch(93.6% 0.035 300.3)

  3. Step 200

    200

    #E0D0FF

    oklch(88.6% 0.066 300.6)

  4. Step 300

    300 (this color)

    #C5A7FA

    oklch(78.5% 0.119 300.3)

  5. Step 400

    400

    #B481FF

    oklch(70.7% 0.182 300.5)

  6. Step 500

    500

    #A358FF

    oklch(63.1% 0.236 300.3)

  7. Step 600

    600

    #912CF2

    oklch(55.6% 0.265 300.5)

  8. Step 700

    700

    #7B19D3

    oklch(49.1% 0.247 300.1)

  9. Step 800

    800

    #641BAA

    oklch(42.6% 0.204 300.4)

  10. Step 900

    900

    #512187

    oklch(37.7% 0.159 300.2)

  11. Step 950

    950

    #2F154F

    oklch(26.9% 0.101 300.2)

Export this scale for Tailwind in the Tailwind colors tool

#C5A7FA 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)#94B5FD0.070
Deuteranopia (no green cones)#99B5F80.067
Tritanopia (no blue cones)#BCB4C50.094
Achromatopsia (no color)#B5B5B50.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5A7FA

    #C5A7FA

    oklch(78.5% 0.119 300.3)

  • #AFC469

    #AFC469

    oklch(78.4% 0.119 119.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5A7FA

    #C5A7FA

    oklch(78.5% 0.119 300.3)

  • #9EB5FF

    #9EB5FF

    oklch(78.4% 0.109 270.5)

  • #E49CDD

    #E49CDD

    oklch(78.4% 0.12 330.1)

Open the analogous palette in the generator

Split complementary

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

  • #C5A7FA

    #C5A7FA

    oklch(78.5% 0.119 300.3)

  • #D6B657

    #D6B657

    oklch(78.6% 0.12 90.8)

  • #7ECF90

    #7ECF90

    oklch(78.6% 0.12 150)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5A7FA

    #C5A7FA

    oklch(78.5% 0.119 300.3)

  • #F1A666

    #F1A666

    oklch(78.5% 0.12 60.2)

  • #4DD2BC

    #4DD2BC

    oklch(78.6% 0.12 180)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5A7FA

    #C5A7FA

    oklch(78.5% 0.119 300.3)

  • #FC9B8B

    #FC9B8B

    oklch(78.5% 0.119 30.1)

  • #AFC469

    #AFC469

    oklch(78.4% 0.119 119.9)

  • #42CDE3

    #42CDE3

    oklch(78.4% 0.119 210.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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