#CA7FD8

Closest named color: Lavender Pink (#DD85D7). oklch(70.7% 0.149 321.1), rgb(202, 127, 216).

Aa

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

About this color

#CA7FD8 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.149 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.53:1.

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

Values

HEX#CA7FD8
RGBrgb(202, 127, 216)
HSLhsl(291, 53%, 67%)
OKLCHoklch(70.7% 0.149 321.1)

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 #CA7FD8 2.78:1 Fails Lc -58.7 Large or bold text, headings
Black text on #CA7FD8 7.53:1 AAA Lc 50.6 Large or bold text, headings
#CA7FD8 text on white 2.78:1 Fails Lc 53.4 Large or bold text, headings
#CA7FD8 text on black 7.53:1 AAA Lc -48.4 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)

    #CA7FD8

    oklch(70.7% 0.149 321.1)

  6. Step 500

    500

    #BB5ACD

    oklch(63% 0.19 321.1)

  7. Step 600

    600

    #A73BBA

    oklch(55.7% 0.206 321.3)

  8. Step 700

    700

    #8F2BA0

    oklch(49.1% 0.192 321.4)

  9. Step 800

    800

    #742682

    oklch(42.7% 0.159 321.2)

  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

#CA7FD8 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)#7395DB0.133
Deuteranopia (no green cones)#879ED50.121
Tritanopia (no blue cones)#CC8AA10.094
Achromatopsia (no color)#9B9B9B0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA7FD8

    #CA7FD8

    oklch(70.7% 0.149 321.1)

  • #68B75C

    #68B75C

    oklch(70.7% 0.148 141.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA7FD8

    #CA7FD8

    oklch(70.7% 0.149 321.1)

  • #A28EF5

    #A28EF5

    oklch(70.7% 0.148 291.1)

  • #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°).

  • #CA7FD8

    #CA7FD8

    oklch(70.7% 0.149 321.1)

  • #A5A81B

    #A5A81B

    oklch(70.6% 0.149 111)

  • #00BB95

    #00BB95

    oklch(70.5% 0.138 171.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA7FD8

    #CA7FD8

    oklch(70.7% 0.149 321.1)

  • #CE9500

    #CE9500

    oklch(70.6% 0.146 81.2)

  • #00B6BF

    #00B6BF

    oklch(70.6% 0.12 201.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA7FD8

    #CA7FD8

    oklch(70.7% 0.149 321.1)

  • #E8823F

    #E8823F

    oklch(70.7% 0.149 51.2)

  • #68B75C

    #68B75C

    oklch(70.7% 0.148 141.1)

  • #00AFE9

    #00AFE9

    oklch(70.7% 0.143 231.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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