#CA7EC2

Closest named color: Lavender Pink (#DD85D7). oklch(69.5% 0.129 330.7), rgb(202, 126, 194).

Aa

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

About this color

#CA7EC2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.129 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.046 away. Black text reads best on it, at 7.27:1.

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

Values

HEX#CA7EC2
RGBrgb(202, 126, 194)
HSLhsl(306, 42%, 64%)
OKLCHoklch(69.5% 0.129 330.7)

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 #CA7EC2 2.88:1 Fails Lc -60.2 Content text, not long reading
Black text on #CA7EC2 7.27:1 AAA Lc 49.1 Large or bold text, headings
#CA7EC2 text on white 2.88:1 Fails Lc 54.9 Large or bold text, headings
#CA7EC2 text on black 7.27:1 AAA Lc -46.9 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

    #F3E5F1

    oklch(93.6% 0.022 330.3)

  3. Step 200

    200

    #EBCFE7

    oklch(88.5% 0.044 330.6)

  4. Step 300

    300

    #DFAED9

    oklch(80.8% 0.08 330.4)

  5. Step 400

    400 (this color)

    #CA7EC2

    oklch(69.5% 0.129 330.7)

  6. Step 500

    500

    #BF5FB7

    oklch(63.1% 0.164 330.5)

  7. Step 600

    600

    #AB42A3

    oklch(55.7% 0.179 330.8)

  8. Step 700

    700

    #92338B

    oklch(49.1% 0.165 330.8)

  9. Step 800

    800

    #772B71

    oklch(42.7% 0.138 330.9)

  10. Step 900

    900

    #60285C

    oklch(37.7% 0.108 330.3)

  11. Step 950

    950

    #381836

    oklch(26.9% 0.069 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#CA7EC2 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)#7B91C50.124
Deuteranopia (no green cones)#8F9CC00.113
Tritanopia (no blue cones)#D083970.070
Achromatopsia (no color)#9898980.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA7EC2

    #CA7EC2

    oklch(69.5% 0.129 330.7)

  • #5AB372

    #5AB372

    oklch(69.5% 0.129 150.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA7EC2

    #CA7EC2

    oklch(69.5% 0.129 330.7)

  • #AA89E0

    #AA89E0

    oklch(69.5% 0.129 300.6)

  • #DD7999

    #DD7999

    oklch(69.6% 0.129 0.5)

Open the analogous palette in the generator

Split complementary

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

  • #CA7EC2

    #CA7EC2

    oklch(69.5% 0.129 330.7)

  • #92A945

    #92A945

    oklch(69.6% 0.129 120.7)

  • #00B6A1

    #00B6A1

    oklch(69.6% 0.126 180.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA7EC2

    #CA7EC2

    oklch(69.5% 0.129 330.7)

  • #BB992A

    #BB992A

    oklch(69.5% 0.129 90.8)

  • #00B0C7

    #00B0C7

    oklch(69.4% 0.121 211.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA7EC2

    #CA7EC2

    oklch(69.5% 0.129 330.7)

  • #D68840

    #D68840

    oklch(69.5% 0.129 60.6)

  • #5AB372

    #5AB372

    oklch(69.5% 0.129 150.6)

  • #45A6E5

    #45A6E5

    oklch(69.5% 0.129 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 #CA7EC2, closest first.

Similar named colors

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

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