#CA7FD7

Closest named color: Lavender Pink (#DD85D7). oklch(70.6% 0.148 321.5), rgb(202, 127, 215).

Aa

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

About this color

#CA7FD7 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.148 and its hue 322°. 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.52:1.

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

Values

HEX#CA7FD7
RGBrgb(202, 127, 215)
HSLhsl(291, 52%, 67%)
OKLCHoklch(70.6% 0.148 321.5)

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 #CA7FD7 2.78:1 Fails Lc -58.8 Large or bold text, headings
Black text on #CA7FD7 7.52:1 AAA Lc 50.5 Large or bold text, headings
#CA7FD7 text on white 2.78:1 Fails Lc 53.5 Large or bold text, headings
#CA7FD7 text on black 7.52:1 AAA Lc -48.3 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

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #E9CFEE

    oklch(88.5% 0.05 320.8)

  4. Step 300

    300

    #DDADE5

    oklch(80.9% 0.093 321.6)

  5. Step 400

    400 (this color)

    #CA7FD7

    oklch(70.6% 0.148 321.5)

  6. Step 500

    500

    #BC5BCC

    oklch(63.2% 0.188 321.8)

  7. Step 600

    600

    #A73BB9

    oklch(55.6% 0.205 321.6)

  8. Step 700

    700

    #8F2C9F

    oklch(49.1% 0.19 321.7)

  9. Step 800

    800

    #742681

    oklch(42.6% 0.158 321.6)

  10. Step 900

    900

    #5E2568

    oklch(37.7% 0.124 321.4)

  11. Step 950

    950

    #37173D

    oklch(27% 0.078 321.1)

Export this scale for Tailwind in the Tailwind colors tool

#CA7FD7 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)#7495DA0.132
Deuteranopia (no green cones)#889ED40.120
Tritanopia (no blue cones)#CC89A10.091
Achromatopsia (no color)#9B9B9B0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA7FD7

    #CA7FD7

    oklch(70.6% 0.148 321.5)

  • #67B75D

    #67B75D

    oklch(70.7% 0.148 141.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA7FD7

    #CA7FD7

    oklch(70.6% 0.148 321.5)

  • #A28DF4

    #A28DF4

    oklch(70.5% 0.148 291.5)

  • #E476AB

    #E476AB

    oklch(70.6% 0.148 351.3)

Open the analogous palette in the generator

Split complementary

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

  • #CA7FD7

    #CA7FD7

    oklch(70.6% 0.148 321.5)

  • #A4A81F

    #A4A81F

    oklch(70.6% 0.147 111.4)

  • #00BB96

    #00BB96

    oklch(70.5% 0.137 171.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA7FD7

    #CA7FD7

    oklch(70.6% 0.148 321.5)

  • #CE9500

    #CE9500

    oklch(70.6% 0.146 81.2)

  • #00B6C0

    #00B6C0

    oklch(70.7% 0.12 201.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA7FD7

    #CA7FD7

    oklch(70.6% 0.148 321.5)

  • #E7823F

    #E7823F

    oklch(70.6% 0.148 51.4)

  • #67B75D

    #67B75D

    oklch(70.7% 0.148 141.6)

  • #00AEE9

    #00AEE9

    oklch(70.5% 0.143 231.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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