#CA7ECC

Closest named color: Lavender Pink (#DD85D7). oklch(70% 0.138 326), rgb(202, 126, 204).

Aa

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

About this color

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

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

Values

HEX#CA7ECC
RGBrgb(202, 126, 204)
HSLhsl(298, 43%, 65%)
OKLCHoklch(70% 0.138 326)

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 #CA7ECC 2.85:1 Fails Lc -59.7 Large or bold text, headings
Black text on #CA7ECC 7.36:1 AAA Lc 49.6 Large or bold text, headings
#CA7ECC text on white 2.85:1 Fails Lc 54.4 Large or bold text, headings
#CA7ECC text on black 7.36:1 AAA Lc -47.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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F3

    oklch(93.5% 0.026 325.8)

  3. Step 200

    200

    #EACFEA

    oklch(88.5% 0.047 326)

  4. Step 300

    300

    #DEAEDF

    oklch(81% 0.086 325.7)

  5. Step 400

    400 (this color)

    #CA7ECC

    oklch(70% 0.138 326)

  6. Step 500

    500

    #BE5DC2

    oklch(63.2% 0.176 325.9)

  7. Step 600

    600

    #A93FAE

    oklch(55.7% 0.191 325.9)

  8. Step 700

    700

    #912F95

    oklch(49.1% 0.179 326.2)

  9. Step 800

    800

    #762979

    oklch(42.8% 0.148 326.2)

  10. Step 900

    900

    #5F2762

    oklch(37.7% 0.115 325.6)

  11. Step 950

    950

    #381839

    oklch(27.1% 0.072 326.2)

Export this scale for Tailwind in the Tailwind colors tool

#CA7ECC 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)#7793CF0.129
Deuteranopia (no green cones)#8B9CC90.117
Tritanopia (no blue cones)#CE869C0.080
Achromatopsia (no color)#9999990.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA7ECC

    #CA7ECC

    oklch(70% 0.138 326)

  • #5FB568

    #5FB568

    oklch(70% 0.139 146.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA7ECC

    #CA7ECC

    oklch(70% 0.138 326)

  • #A68BEA

    #A68BEA

    oklch(70% 0.138 295.7)

  • #E077A1

    #E077A1

    oklch(69.9% 0.138 355.9)

Open the analogous palette in the generator

Split complementary

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

  • #CA7ECC

    #CA7ECC

    oklch(70% 0.138 326)

  • #9AA835

    #9AA835

    oklch(69.9% 0.138 116.1)

  • #00B89B

    #00B89B

    oklch(69.9% 0.131 176)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA7ECC

    #CA7ECC

    oklch(70% 0.138 326)

  • #C49717

    #C49717

    oklch(70% 0.138 86.3)

  • #00B3C3

    #00B3C3

    oklch(70% 0.12 206.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA7ECC

    #CA7ECC

    oklch(70% 0.138 326)

  • #DE853E

    #DE853E

    oklch(69.9% 0.138 56.2)

  • #5FB568

    #5FB568

    oklch(70% 0.139 146.1)

  • #2CAAE8

    #2CAAE8

    oklch(70% 0.138 236)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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