#DC2EC7

Closest named color: Purple Pink (#D725DE). oklch(63.1% 0.254 333.9), rgb(220, 46, 199).

Aa

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

About this color

#DC2EC7 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.254 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Pink (#D725DE), ΔE 0.040 away. Black text reads best on it, at 5.25:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.254)
Temperaturein between
Nearest namePurple Pink (#D725DE)
Black text5.25:1
White text3.99:1

Values

HEX#DC2EC7
RGBrgb(220, 46, 199)
HSLhsl(307, 71%, 52%)
OKLCHoklch(63.1% 0.254 333.9)

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 #DC2EC7 3.99:1 AA large text Lc -71.2 Content text, not long reading
Black text on #DC2EC7 5.25:1 AA Lc 38.4 Non-text elements, placeholder text
#DC2EC7 text on white 3.99:1 AA large text Lc 65.7 Content text, not long reading
#DC2EC7 text on black 5.25:1 AA Lc -36.0 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #FDF2FA

    oklch(97.2% 0.016 335.1)

  2. Step 100

    100

    #FAE1F4

    oklch(93.6% 0.037 334.1)

  3. Step 200

    200

    #F6C9EC

    oklch(88.5% 0.068 334)

  4. Step 300

    300

    #F1A2E2

    oklch(80.9% 0.124 333.7)

  5. Step 400

    400

    #E768D3

    oklch(70.7% 0.2 333.9)

  6. Step 500

    500 (this color)

    #DC2EC7

    oklch(63.1% 0.254 333.9)

  7. Step 600

    600

    #C000AD

    oklch(55.6% 0.248 333.9)

  8. Step 700

    700

    #A20092

    oklch(49% 0.219 333.8)

  9. Step 800

    800

    #860079

    oklch(42.7% 0.191 333.6)

  10. Step 900

    900

    #700365

    oklch(37.7% 0.166 333.6)

  11. Step 950

    950

    #42093B

    oklch(27% 0.105 333.8)

Export this scale for Tailwind in the Tailwind colors tool

#DC2EC7 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)#276FCB0.282
Deuteranopia (no green cones)#6E88C30.236
Tritanopia (no blue cones)#E6417A0.130
Achromatopsia (no color)#7F7F7F0.256

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC2EC7

    #DC2EC7

    oklch(63.1% 0.254 333.9)

  • #00A45A

    #00A45A

    oklch(63.1% 0.159 153.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC2EC7

    #DC2EC7

    oklch(63.1% 0.254 333.9)

  • #AB51FF

    #AB51FF

    oklch(63.1% 0.246 303.7)

  • #F80078

    #F80078

    oklch(63.1% 0.254 3.9)

Open the analogous palette in the generator

Split complementary

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

  • #DC2EC7

    #DC2EC7

    oklch(63.1% 0.254 333.9)

  • #769800

    #769800

    oklch(63.1% 0.157 124)

  • #009F91

    #009F91

    oklch(63.1% 0.112 184)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC2EC7

    #DC2EC7

    oklch(63.1% 0.254 333.9)

  • #A38700

    #A38700

    oklch(63.1% 0.129 94.2)

  • #009AB2

    #009AB2

    oklch(63.1% 0.111 213.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC2EC7

    #DC2EC7

    oklch(63.1% 0.254 333.9)

  • #C47300

    #C47300

    oklch(63.1% 0.143 63.7)

  • #00A45A

    #00A45A

    oklch(63.1% 0.159 153.9)

  • #0091DF

    #0091DF

    oklch(63.2% 0.154 243.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #DC2EC7.

Similar named colors

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

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