#C4A2EC

Closest named color: Baby Purple (#CA9BF7). oklch(76.9% 0.109 305), rgb(196, 162, 236).

Aa

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

About this color

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

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

Values

HEX#C4A2EC
RGBrgb(196, 162, 236)
HSLhsl(268, 66%, 78%)
OKLCHoklch(76.9% 0.109 305)

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 #C4A2EC 2.15:1 Fails Lc -47.1 Large or bold text, headings
Black text on #C4A2EC 9.72:1 AAA Lc 61.6 Content text, not long reading
#C4A2EC text on white 2.15:1 Fails Lc 42.4 Non-text elements, placeholder text
#C4A2EC text on black 9.72:1 AAA Lc -59.8 Large or bold text, headings

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

    #EFE5FB

    oklch(93.6% 0.031 306.2)

  3. Step 200

    200

    #E2D0FA

    oklch(88.5% 0.06 304.6)

  4. Step 300

    300 (this color)

    #C4A2EC

    oklch(76.9% 0.109 305)

  5. Step 400

    400

    #BA80F7

    oklch(70.7% 0.175 304.8)

  6. Step 500

    500

    #AA59F3

    oklch(63.1% 0.224 305)

  7. Step 600

    600

    #9635E1

    oklch(55.6% 0.243 305.2)

  8. Step 700

    700

    #8024C4

    oklch(49.1% 0.227 305)

  9. Step 800

    800

    #68229E

    oklch(42.7% 0.187 305.2)

  10. Step 900

    900

    #54247E

    oklch(37.7% 0.146 304.7)

  11. Step 950

    950

    #31174A

    oklch(27.1% 0.092 304.4)

Export this scale for Tailwind in the Tailwind colors tool

#C4A2EC 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)#93AFEF0.071
Deuteranopia (no green cones)#9AB1EA0.067
Tritanopia (no blue cones)#BEADBD0.083
Achromatopsia (no color)#B0B0B00.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #C4A2EC

    #C4A2EC

    oklch(76.9% 0.109 305)

  • #A4C071

    #A4C071

    oklch(76.8% 0.109 124.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C4A2EC

    #C4A2EC

    oklch(76.9% 0.109 305)

  • #9FAEFA

    #9FAEFA

    oklch(76.8% 0.11 275)

  • #DF99D0

    #DF99D0

    oklch(76.9% 0.11 334.6)

Open the analogous palette in the generator

Split complementary

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

  • #C4A2EC

    #C4A2EC

    oklch(76.9% 0.109 305)

  • #CAB35E

    #CAB35E

    oklch(76.9% 0.109 94.5)

  • #78C995

    #78C995

    oklch(77% 0.11 154.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C4A2EC

    #C4A2EC

    oklch(76.9% 0.109 305)

  • #E4A566

    #E4A566

    oklch(76.9% 0.109 65)

  • #52CABD

    #52CABD

    oklch(76.8% 0.109 185.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C4A2EC

    #C4A2EC

    oklch(76.9% 0.109 305)

  • #F19A84

    #F19A84

    oklch(76.9% 0.11 34.9)

  • #A4C071

    #A4C071

    oklch(76.8% 0.109 124.8)

  • #51C5DF

    #51C5DF

    oklch(76.8% 0.109 215.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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