#C7A7FA

Closest named color: Lilac (#CEA2FD). oklch(78.7% 0.12 301.4), rgb(199, 167, 250).

Aa

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

About this color

#C7A7FA is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.120 and its hue 301°. 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.33:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.33:1
White text2.03:1

Values

HEX#C7A7FA
RGBrgb(199, 167, 250)
HSLhsl(263, 89%, 82%)
OKLCHoklch(78.7% 0.12 301.4)

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 #C7A7FA 2.03:1 Fails Lc -43.9 Non-text elements, placeholder text
Black text on #C7A7FA 10.33:1 AAA Lc 64.5 Content text, not long reading
#C7A7FA text on white 2.03:1 Fails Lc 39.4 Non-text elements, placeholder text
#C7A7FA text on black 10.33: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

    #EEE5FE

    oklch(93.6% 0.035 302.1)

  3. Step 200

    200

    #E0D0FF

    oklch(88.6% 0.066 300.6)

  4. Step 300

    300 (this color)

    #C7A7FA

    oklch(78.7% 0.12 301.4)

  5. Step 400

    400

    #B680FF

    oklch(70.7% 0.184 301.5)

  6. Step 500

    500

    #A656FF

    oklch(63.1% 0.239 301.5)

  7. Step 600

    600

    #932AF1

    oklch(55.6% 0.266 301.5)

  8. Step 700

    700

    #7D16D2

    oklch(49.1% 0.248 301.3)

  9. Step 800

    800

    #661AAA

    oklch(42.8% 0.205 301.4)

  10. Step 900

    900

    #522086

    oklch(37.6% 0.159 301.3)

  11. Step 950

    950

    #30154F

    oklch(27% 0.102 301.2)

Export this scale for Tailwind in the Tailwind colors tool

#C7A7FA 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.073
Deuteranopia (no green cones)#9AB6F80.069
Tritanopia (no blue cones)#BEB4C50.094
Achromatopsia (no color)#B6B6B60.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7A7FA

    #C7A7FA

    oklch(78.7% 0.12 301.4)

  • #ADC56B

    #ADC56B

    oklch(78.5% 0.119 121.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7A7FA

    #C7A7FA

    oklch(78.7% 0.12 301.4)

  • #A0B6FF

    #A0B6FF

    oklch(78.7% 0.107 270.9)

  • #E69DDC

    #E69DDC

    oklch(78.7% 0.119 331.6)

Open the analogous palette in the generator

Split complementary

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

  • #C7A7FA

    #C7A7FA

    oklch(78.7% 0.12 301.4)

  • #D6B757

    #D6B757

    oklch(78.8% 0.121 91.5)

  • #7CD092

    #7CD092

    oklch(78.8% 0.121 151.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7A7FA

    #C7A7FA

    oklch(78.7% 0.12 301.4)

  • #F1A765

    #F1A765

    oklch(78.7% 0.12 61.4)

  • #4BD2BE

    #4BD2BE

    oklch(78.6% 0.12 181.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7A7FA

    #C7A7FA

    oklch(78.7% 0.12 301.4)

  • #FD9C89

    #FD9C89

    oklch(78.7% 0.12 31.8)

  • #ADC56B

    #ADC56B

    oklch(78.5% 0.119 121.5)

  • #43CEE5

    #43CEE5

    oklch(78.7% 0.12 210.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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