#D04ECA

Closest named color: Pinky Purple (#C94CBE). oklch(64.2% 0.216 329.6), rgb(208, 78, 202).

Aa

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

About this color

#D04ECA is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.216 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.022 away. Black text reads best on it, at 5.62:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.216)
Temperaturein between
Nearest namePinky Purple (#C94CBE)
Black text5.62:1
White text3.73:1

Values

HEX#D04ECA
RGBrgb(208, 78, 202)
HSLhsl(303, 58%, 56%)
OKLCHoklch(64.2% 0.216 329.6)

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 #D04ECA 3.73:1 AA large text Lc -69.5 Content text, not long reading
Black text on #D04ECA 5.62:1 AA Lc 40.0 Non-text elements, placeholder text
#D04ECA text on white 3.73:1 AA large text Lc 64.0 Content text, not long reading
#D04ECA text on black 5.62:1 AA Lc -37.6 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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F6E3F4

    oklch(93.6% 0.03 329.1)

  3. Step 200

    200

    #F0CCEC

    oklch(88.5% 0.058 329.7)

  4. Step 300

    300

    #E7A8E2

    oklch(80.9% 0.105 329.2)

  5. Step 400

    400

    #D975D3

    oklch(70.7% 0.17 329.4)

  6. Step 500

    500 (this color)

    #D04ECA

    oklch(64.2% 0.216 329.6)

  7. Step 600

    600

    #B820B3

    oklch(55.7% 0.235 329.7)

  8. Step 700

    700

    #9E0C9A

    oklch(49.1% 0.218 329.7)

  9. Step 800

    800

    #80137D

    oklch(42.7% 0.18 329.5)

  10. Step 900

    900

    #671B64

    oklch(37.6% 0.14 329.6)

  11. Step 950

    950

    #3D123B

    oklch(27.1% 0.089 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#D04ECA 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)#4279CE0.225
Deuteranopia (no green cones)#708AC70.193
Tritanopia (no blue cones)#D75D850.118
Achromatopsia (no color)#8484840.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #D04ECA

    #D04ECA

    oklch(64.2% 0.216 329.6)

  • #00A94C

    #00A94C

    oklch(64.2% 0.178 149.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D04ECA

    #D04ECA

    oklch(64.2% 0.216 329.6)

  • #A263FA

    #A263FA

    oklch(64.1% 0.216 299.5)

  • #EC3F88

    #EC3F88

    oklch(64.2% 0.215 359.8)

Open the analogous palette in the generator

Split complementary

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

  • #D04ECA

    #D04ECA

    oklch(64.2% 0.216 329.6)

  • #829900

    #829900

    oklch(64.2% 0.152 119.8)

  • #00A38F

    #00A38F

    oklch(64.1% 0.116 179.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D04ECA

    #D04ECA

    oklch(64.2% 0.216 329.6)

  • #AC8800

    #AC8800

    oklch(64.3% 0.131 89.9)

  • #009EB1

    #009EB1

    oklch(64.1% 0.111 209.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D04ECA

    #D04ECA

    oklch(64.2% 0.216 329.6)

  • #CD7200

    #CD7200

    oklch(64.1% 0.151 59.8)

  • #00A94C

    #00A94C

    oklch(64.2% 0.178 149.7)

  • #0096DB

    #0096DB

    oklch(64.1% 0.146 239.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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