#CA7EC7

Closest named color: Lavender Pink (#DD85D7). oklch(69.7% 0.133 328.3), rgb(202, 126, 199).

Aa

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

About this color

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

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

Values

HEX#CA7EC7
RGBrgb(202, 126, 199)
HSLhsl(302, 42%, 64%)
OKLCHoklch(69.7% 0.133 328.3)

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 #CA7EC7 2.86:1 Fails Lc -60.0 Large or bold text, headings
Black text on #CA7EC7 7.32:1 AAA Lc 49.4 Large or bold text, headings
#CA7EC7 text on white 2.86:1 Fails Lc 54.7 Large or bold text, headings
#CA7EC7 text on black 7.32:1 AAA Lc -47.1 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

    #EBCFE9

    oklch(88.6% 0.046 328.2)

  4. Step 300

    300

    #DFAEDC

    oklch(81% 0.083 328.3)

  5. Step 400

    400 (this color)

    #CA7EC7

    oklch(69.7% 0.133 328.3)

  6. Step 500

    500

    #BF5EBC

    oklch(63.2% 0.17 328.5)

  7. Step 600

    600

    #AA40A8

    oklch(55.6% 0.186 328.5)

  8. Step 700

    700

    #913190

    oklch(49% 0.172 328.2)

  9. Step 800

    800

    #762A75

    oklch(42.6% 0.143 328.2)

  10. Step 900

    900

    #60285F

    oklch(37.8% 0.111 328.2)

  11. Step 950

    950

    #381837

    oklch(26.9% 0.07 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#CA7EC7 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)#7992CA0.127
Deuteranopia (no green cones)#8D9CC50.115
Tritanopia (no blue cones)#CF84990.075
Achromatopsia (no color)#9898980.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA7EC7

    #CA7EC7

    oklch(69.7% 0.133 328.3)

  • #5DB46D

    #5DB46D

    oklch(69.7% 0.133 148.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA7EC7

    #CA7EC7

    oklch(69.7% 0.133 328.3)

  • #A88AE5

    #A88AE5

    oklch(69.7% 0.133 298.1)

  • #DF789D

    #DF789D

    oklch(69.8% 0.134 358.3)

Open the analogous palette in the generator

Split complementary

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

  • #CA7EC7

    #CA7EC7

    oklch(69.7% 0.133 328.3)

  • #96A93D

    #96A93D

    oklch(69.9% 0.134 118.5)

  • #00B79E

    #00B79E

    oklch(69.7% 0.128 178.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA7EC7

    #CA7EC7

    oklch(69.7% 0.133 328.3)

  • #C09822

    #C09822

    oklch(69.8% 0.133 88.2)

  • #00B2C5

    #00B2C5

    oklch(69.9% 0.12 208.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA7EC7

    #CA7EC7

    oklch(69.7% 0.133 328.3)

  • #DA873F

    #DA873F

    oklch(69.8% 0.133 58.6)

  • #5DB46D

    #5DB46D

    oklch(69.7% 0.133 148.1)

  • #3AA8E6

    #3AA8E6

    oklch(69.7% 0.133 238.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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