#C4A7FA

Closest named color: Lilac (#CEA2FD). oklch(78.4% 0.119 299.7), rgb(196, 167, 250).

Aa

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

About this color

#C4A7FA 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.020 away. Black text reads best on it, at 10.25:1.

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

Values

HEX#C4A7FA
RGBrgb(196, 167, 250)
HSLhsl(261, 89%, 82%)
OKLCHoklch(78.4% 0.119 299.7)

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 #C4A7FA 2.04:1 Fails Lc -44.4 Non-text elements, placeholder text
Black text on #C4A7FA 10.25:1 AAA Lc 64.1 Content text, not long reading
#C4A7FA text on white 2.04:1 Fails Lc 39.8 Non-text elements, placeholder text
#C4A7FA text on black 10.25:1 AAA Lc -62.5 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

    #DFD0FF

    oklch(88.5% 0.066 299.6)

  4. Step 300

    300 (this color)

    #C4A7FA

    oklch(78.4% 0.119 299.7)

  5. Step 400

    400

    #B382FF

    oklch(70.7% 0.18 299.9)

  6. Step 500

    500

    #A259FF

    oklch(63.1% 0.235 299.8)

  7. Step 600

    600

    #8F2DF3

    oklch(55.6% 0.265 299.6)

  8. Step 700

    700

    #7A1AD4

    oklch(49.1% 0.247 299.5)

  9. Step 800

    800

    #631CAB

    oklch(42.7% 0.204 299.6)

  10. Step 900

    900

    #502187

    oklch(37.6% 0.159 299.6)

  11. Step 950

    950

    #2F164F

    oklch(27.1% 0.1 299.9)

Export this scale for Tailwind in the Tailwind colors tool

#C4A7FA 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.069
Deuteranopia (no green cones)#99B5F80.065
Tritanopia (no blue cones)#BAB4C50.095
Achromatopsia (no color)#B5B5B50.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #C4A7FA

    #C4A7FA

    oklch(78.4% 0.119 299.7)

  • #AFC469

    #AFC469

    oklch(78.4% 0.119 119.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C4A7FA

    #C4A7FA

    oklch(78.4% 0.119 299.7)

  • #9DB5FF

    #9DB5FF

    oklch(78.3% 0.109 270)

  • #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°).

  • #C4A7FA

    #C4A7FA

    oklch(78.4% 0.119 299.7)

  • #D7B557

    #D7B557

    oklch(78.5% 0.119 89.5)

  • #7ECE8F

    #7ECE8F

    oklch(78.3% 0.119 149.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C4A7FA

    #C4A7FA

    oklch(78.4% 0.119 299.7)

  • #F1A667

    #F1A667

    oklch(78.5% 0.119 59.8)

  • #4DD1BB

    #4DD1BB

    oklch(78.3% 0.119 179.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C4A7FA

    #C4A7FA

    oklch(78.4% 0.119 299.7)

  • #FC9B8B

    #FC9B8B

    oklch(78.5% 0.119 30.1)

  • #AFC469

    #AFC469

    oklch(78.4% 0.119 119.9)

  • #42CDE2

    #42CDE2

    oklch(78.4% 0.119 209.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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