#CA7EC5

Closest named color: Lavender Pink (#DD85D7). oklch(69.7% 0.131 329.2), rgb(202, 126, 197).

Aa

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

About this color

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

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

Values

HEX#CA7EC5
RGBrgb(202, 126, 197)
HSLhsl(304, 42%, 64%)
OKLCHoklch(69.7% 0.131 329.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 #CA7EC5 2.87:1 Fails Lc -60.1 Content text, not long reading
Black text on #CA7EC5 7.30:1 AAA Lc 49.3 Large or bold text, headings
#CA7EC5 text on white 2.87:1 Fails Lc 54.8 Large or bold text, headings
#CA7EC5 text on black 7.30:1 AAA Lc -47.0 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

    #F3E4F2

    oklch(93.5% 0.025 327.8)

  3. Step 200

    200

    #EBCFE8

    oklch(88.5% 0.045 329.4)

  4. Step 300

    300

    #DFAEDB

    oklch(80.9% 0.082 329)

  5. Step 400

    400 (this color)

    #CA7EC5

    oklch(69.7% 0.131 329.2)

  6. Step 500

    500

    #BF5EBA

    oklch(63.1% 0.168 329.3)

  7. Step 600

    600

    #AA41A6

    oklch(55.6% 0.182 329.2)

  8. Step 700

    700

    #92328E

    oklch(49.1% 0.169 329.5)

  9. Step 800

    800

    #762B74

    oklch(42.7% 0.14 328.8)

  10. Step 900

    900

    #60285D

    oklch(37.7% 0.109 329.6)

  11. Step 950

    950

    #381837

    oklch(26.9% 0.07 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#CA7EC5 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)#7A92C80.125
Deuteranopia (no green cones)#8E9CC30.114
Tritanopia (no blue cones)#CF84990.072
Achromatopsia (no color)#9898980.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA7EC5

    #CA7EC5

    oklch(69.7% 0.131 329.2)

  • #5CB46F

    #5CB46F

    oklch(69.7% 0.132 149)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA7EC5

    #CA7EC5

    oklch(69.7% 0.131 329.2)

  • #A98AE3

    #A98AE3

    oklch(69.7% 0.131 299)

  • #DE789B

    #DE789B

    oklch(69.6% 0.132 359.2)

Open the analogous palette in the generator

Split complementary

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

  • #CA7EC5

    #CA7EC5

    oklch(69.7% 0.131 329.2)

  • #94A940

    #94A940

    oklch(69.7% 0.133 119.6)

  • #00B79F

    #00B79F

    oklch(69.8% 0.128 178.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA7EC5

    #CA7EC5

    oklch(69.7% 0.131 329.2)

  • #BE9825

    #BE9825

    oklch(69.6% 0.131 89)

  • #00B1C6

    #00B1C6

    oklch(69.6% 0.12 209.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA7EC5

    #CA7EC5

    oklch(69.7% 0.131 329.2)

  • #D98740

    #D98740

    oklch(69.7% 0.132 58.7)

  • #5CB46F

    #5CB46F

    oklch(69.7% 0.132 149)

  • #3FA7E6

    #3FA7E6

    oklch(69.6% 0.132 239.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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