#CA7EC1

Closest named color: Lavender Pink (#DD85D7). oklch(69.5% 0.128 331.2), rgb(202, 126, 193).

Aa

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

About this color

#CA7EC1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.128 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.047 away. Black text reads best on it, at 7.26:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text7.26:1
White text2.89:1

Values

HEX#CA7EC1
RGBrgb(202, 126, 193)
HSLhsl(307, 42%, 64%)
OKLCHoklch(69.5% 0.128 331.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 #CA7EC1 2.89:1 Fails Lc -60.3 Content text, not long reading
Black text on #CA7EC1 7.26:1 AAA Lc 49.1 Large or bold text, headings
#CA7EC1 text on white 2.89:1 Fails Lc 55.0 Large or bold text, headings
#CA7EC1 text on black 7.26:1 AAA Lc -46.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 400.

  1. Step 50

    50

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E5F1

    oklch(93.7% 0.023 332.4)

  3. Step 200

    200

    #EBCFE7

    oklch(88.5% 0.044 330.6)

  4. Step 300

    300

    #DFAED8

    oklch(80.8% 0.079 331.2)

  5. Step 400

    400 (this color)

    #CA7EC1

    oklch(69.5% 0.128 331.2)

  6. Step 500

    500

    #C05FB6

    oklch(63.1% 0.164 331.3)

  7. Step 600

    600

    #AB42A2

    oklch(55.6% 0.178 331.2)

  8. Step 700

    700

    #92338A

    oklch(49% 0.165 331.3)

  9. Step 800

    800

    #772C70

    oklch(42.8% 0.136 331.5)

  10. Step 900

    900

    #60285B

    oklch(37.6% 0.107 331)

  11. Step 950

    950

    #391835

    oklch(27% 0.068 332)

Export this scale for Tailwind in the Tailwind colors tool

#CA7EC1 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)#7C91C30.123
Deuteranopia (no green cones)#8F9CBF0.113
Tritanopia (no blue cones)#D083970.068
Achromatopsia (no color)#9898980.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA7EC1

    #CA7EC1

    oklch(69.5% 0.128 331.2)

  • #59B373

    #59B373

    oklch(69.4% 0.128 151.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA7EC1

    #CA7EC1

    oklch(69.5% 0.128 331.2)

  • #AB89DF

    #AB89DF

    oklch(69.5% 0.127 301.4)

  • #DD7998

    #DD7998

    oklch(69.6% 0.128 1.2)

Open the analogous palette in the generator

Split complementary

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

  • #CA7EC1

    #CA7EC1

    oklch(69.5% 0.128 331.2)

  • #91A946

    #91A946

    oklch(69.6% 0.129 121.3)

  • #00B6A1

    #00B6A1

    oklch(69.6% 0.126 180.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA7EC1

    #CA7EC1

    oklch(69.5% 0.128 331.2)

  • #BA992C

    #BA992C

    oklch(69.4% 0.127 91.2)

  • #00B0C7

    #00B0C7

    oklch(69.4% 0.121 211.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA7EC1

    #CA7EC1

    oklch(69.5% 0.128 331.2)

  • #D58941

    #D58941

    oklch(69.5% 0.127 61.4)

  • #59B373

    #59B373

    oklch(69.4% 0.128 151.2)

  • #47A6E4

    #47A6E4

    oklch(69.5% 0.127 240.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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