#C7A2EF

Closest named color: Lilac (#CEA2FD). oklch(77.3% 0.114 305.9), rgb(199, 162, 239).

Aa

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

About this color

#C7A2EF is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.114 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.023 away. Black text reads best on it, at 9.84:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text9.84:1
White text2.13:1

Values

HEX#C7A2EF
RGBrgb(199, 162, 239)
HSLhsl(269, 71%, 79%)
OKLCHoklch(77.3% 0.114 305.9)

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 #C7A2EF 2.13:1 Fails Lc -46.5 Large or bold text, headings
Black text on #C7A2EF 9.84:1 AAA Lc 62.2 Content text, not long reading
#C7A2EF text on white 2.13:1 Fails Lc 41.8 Non-text elements, placeholder text
#C7A2EF text on black 9.84:1 AAA Lc -60.4 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE5FC

    oklch(93.7% 0.032 305.3)

  3. Step 200

    200

    #E3CFFB

    oklch(88.5% 0.063 305.7)

  4. Step 300

    300 (this color)

    #C7A2EF

    oklch(77.3% 0.114 305.9)

  5. Step 400

    400

    #BD7EF9

    oklch(70.8% 0.182 305.9)

  6. Step 500

    500

    #AD55F6

    oklch(63.2% 0.233 305.8)

  7. Step 600

    600

    #992EE5

    oklch(55.7% 0.253 305.8)

  8. Step 700

    700

    #831CC7

    oklch(49.2% 0.236 305.9)

  9. Step 800

    800

    #6A1CA1

    oklch(42.7% 0.196 305.8)

  10. Step 900

    900

    #56217F

    oklch(37.7% 0.151 306.1)

  11. Step 950

    950

    #32154B

    oklch(27% 0.097 305.5)

Export this scale for Tailwind in the Tailwind colors tool

#C7A2EF 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)#93B0F20.076
Deuteranopia (no green cones)#9AB2ED0.072
Tritanopia (no blue cones)#C1ADBE0.085
Achromatopsia (no color)#B1B1B10.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7A2EF

    #C7A2EF

    oklch(77.3% 0.114 305.9)

  • #A3C270

    #A3C270

    oklch(77.2% 0.114 125.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7A2EF

    #C7A2EF

    oklch(77.3% 0.114 305.9)

  • #A1AFFE

    #A1AFFE

    oklch(77.4% 0.114 275.7)

  • #E399D1

    #E399D1

    oklch(77.3% 0.114 335.9)

Open the analogous palette in the generator

Split complementary

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

  • #C7A2EF

    #C7A2EF

    oklch(77.3% 0.114 305.9)

  • #CBB55A

    #CBB55A

    oklch(77.3% 0.114 96)

  • #74CB96

    #74CB96

    oklch(77.3% 0.114 155.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7A2EF

    #C7A2EF

    oklch(77.3% 0.114 305.9)

  • #E7A662

    #E7A662

    oklch(77.3% 0.115 66)

  • #4BCDC0

    #4BCDC0

    oklch(77.4% 0.114 185.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7A2EF

    #C7A2EF

    oklch(77.3% 0.114 305.9)

  • #F49A82

    #F49A82

    oklch(77.2% 0.114 35.7)

  • #A3C270

    #A3C270

    oklch(77.2% 0.114 125.9)

  • #4CC7E3

    #4CC7E3

    oklch(77.3% 0.114 215.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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