#CA7FD9

Closest named color: Lavender Pink (#DD85D7). oklch(70.7% 0.15 320.8), rgb(202, 127, 217).

Aa

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

About this color

#CA7FD9 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.150 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.037 away. Black text reads best on it, at 7.54:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.150)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text7.54:1
White text2.78:1

Values

HEX#CA7FD9
RGBrgb(202, 127, 217)
HSLhsl(290, 54%, 67%)
OKLCHoklch(70.7% 0.15 320.8)

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 #CA7FD9 2.78:1 Fails Lc -58.6 Large or bold text, headings
Black text on #CA7FD9 7.54:1 AAA Lc 50.6 Large or bold text, headings
#CA7FD9 text on white 2.78:1 Fails Lc 53.4 Large or bold text, headings
#CA7FD9 text on black 7.54:1 AAA Lc -48.5 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F5

    oklch(93.5% 0.027 320.2)

  3. Step 200

    200

    #E9CFEF

    oklch(88.6% 0.051 319.9)

  4. Step 300

    300

    #DCADE6

    oklch(80.9% 0.094 320.4)

  5. Step 400

    400 (this color)

    #CA7FD9

    oklch(70.7% 0.15 320.8)

  6. Step 500

    500

    #BB5ACE

    oklch(63% 0.191 320.8)

  7. Step 600

    600

    #A73ABB

    oklch(55.6% 0.208 321)

  8. Step 700

    700

    #8F2BA1

    oklch(49.1% 0.193 321.1)

  9. Step 800

    800

    #742683

    oklch(42.8% 0.16 320.7)

  10. Step 900

    900

    #5E2569

    oklch(37.7% 0.125 320.9)

  11. Step 950

    950

    #37173D

    oklch(27% 0.078 321.1)

Export this scale for Tailwind in the Tailwind colors tool

#CA7FD9 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)#7396DC0.133
Deuteranopia (no green cones)#879ED60.121
Tritanopia (no blue cones)#CC8AA20.094
Achromatopsia (no color)#9B9B9B0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA7FD9

    #CA7FD9

    oklch(70.7% 0.15 320.8)

  • #68B75A

    #68B75A

    oklch(70.7% 0.15 140.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA7FD9

    #CA7FD9

    oklch(70.7% 0.15 320.8)

  • #A18EF6

    #A18EF6

    oklch(70.7% 0.149 290.5)

  • #E476AC

    #E476AC

    oklch(70.6% 0.149 350.8)

Open the analogous palette in the generator

Split complementary

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

  • #CA7FD9

    #CA7FD9

    oklch(70.7% 0.15 320.8)

  • #A6A818

    #A6A818

    oklch(70.7% 0.149 110.6)

  • #00BC94

    #00BC94

    oklch(70.8% 0.139 170.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA7FD9

    #CA7FD9

    oklch(70.7% 0.15 320.8)

  • #CF9500

    #CF9500

    oklch(70.7% 0.146 80.7)

  • #00B6BF

    #00B6BF

    oklch(70.6% 0.12 201.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA7FD9

    #CA7FD9

    oklch(70.7% 0.15 320.8)

  • #E9813F

    #E9813F

    oklch(70.7% 0.15 50.4)

  • #68B75A

    #68B75A

    oklch(70.7% 0.15 140.7)

  • #00AFE8

    #00AFE8

    oklch(70.7% 0.142 230.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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