#C7A2EE

Closest named color: Baby Purple (#CA9BF7). oklch(77.2% 0.113 306.2), rgb(199, 162, 238).

Aa

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

About this color

#C7A2EE is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.113 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.024 away. Black text reads best on it, at 9.83:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.83:1
White text2.13:1

Values

HEX#C7A2EE
RGBrgb(199, 162, 238)
HSLhsl(269, 69%, 78%)
OKLCHoklch(77.2% 0.113 306.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 #C7A2EE 2.13:1 Fails Lc -46.5 Large or bold text, headings
Black text on #C7A2EE 9.83:1 AAA Lc 62.1 Content text, not long reading
#C7A2EE text on white 2.13:1 Fails Lc 41.8 Non-text elements, placeholder text
#C7A2EE text on black 9.83: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)

    #C7A2EE

    oklch(77.2% 0.113 306.2)

  5. Step 400

    400

    #BD7EF8

    oklch(70.7% 0.181 306.2)

  6. Step 500

    500

    #AD55F4

    oklch(63% 0.231 306.3)

  7. Step 600

    600

    #992FE3

    oklch(55.6% 0.251 306.2)

  8. Step 700

    700

    #831EC5

    oklch(49.2% 0.233 306.3)

  9. Step 800

    800

    #6A1E9F

    oklch(42.7% 0.192 306.2)

  10. Step 900

    900

    #56217F

    oklch(37.7% 0.151 306.1)

  11. Step 950

    950

    #32154A

    oklch(26.9% 0.096 306.1)

Export this scale for Tailwind in the Tailwind colors tool

#C7A2EE 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)#93B0F10.076
Deuteranopia (no green cones)#9BB2EC0.071
Tritanopia (no blue cones)#C2ADBE0.084
Achromatopsia (no color)#B1B1B10.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7A2EE

    #C7A2EE

    oklch(77.2% 0.113 306.2)

  • #A3C271

    #A3C271

    oklch(77.2% 0.112 126)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7A2EE

    #C7A2EE

    oklch(77.2% 0.113 306.2)

  • #A2AFFD

    #A2AFFD

    oklch(77.4% 0.113 276.2)

  • #E399D0

    #E399D0

    oklch(77.3% 0.113 336.5)

Open the analogous palette in the generator

Split complementary

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

  • #C7A2EE

    #C7A2EE

    oklch(77.2% 0.113 306.2)

  • #CAB55B

    #CAB55B

    oklch(77.3% 0.113 96.4)

  • #74CB97

    #74CB97

    oklch(77.3% 0.114 156.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7A2EE

    #C7A2EE

    oklch(77.2% 0.113 306.2)

  • #E6A663

    #E6A663

    oklch(77.2% 0.113 66.1)

  • #4CCCC0

    #4CCCC0

    oklch(77.2% 0.113 186.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7A2EE

    #C7A2EE

    oklch(77.2% 0.113 306.2)

  • #F39B82

    #F39B82

    oklch(77.3% 0.112 36.6)

  • #A3C271

    #A3C271

    oklch(77.2% 0.112 126)

  • #4EC7E3

    #4EC7E3

    oklch(77.3% 0.113 216)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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