#E400CC

Closest named color: Hot Magenta (#F504C9). oklch(63.1% 0.282 334.4), rgb(228, 0, 204).

Aa

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

About this color

#E400CC is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.282 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Hot Magenta (#F504C9), ΔE 0.035 away. Black text reads best on it, at 5.17:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.282)
Temperaturein between
Nearest nameHot Magenta (#F504C9)
Black text5.17:1
White text4.06:1

Values

HEX#E400CC
RGBrgb(228, 0, 204)
HSLhsl(306, 100%, 45%)
OKLCHoklch(63.1% 0.282 334.4)

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 #E400CC 4.06:1 AA large text Lc -70.6 Content text, not long reading
Black text on #E400CC 5.17:1 AA Lc 39.0 Non-text elements, placeholder text
#E400CC text on white 4.06:1 AA large text Lc 65.1 Content text, not long reading
#E400CC text on black 5.17:1 AA Lc -36.5 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

    #FEF1FB

    oklch(97.1% 0.019 333.5)

  2. Step 100

    100

    #FBE0F5

    oklch(93.5% 0.04 333.5)

  3. Step 200

    200

    #F9C7EE

    oklch(88.5% 0.076 334)

  4. Step 300

    300

    #F69EE5

    oklch(80.9% 0.137 334)

  5. Step 400

    400

    #EE5FD7

    oklch(70.7% 0.22 334.5)

  6. Step 500

    500 (this color)

    #E400CC

    oklch(63.1% 0.282 334.4)

  7. Step 600

    600

    #C100AC

    oklch(55.7% 0.248 334.5)

  8. Step 700

    700

    #A30091

    oklch(49.1% 0.219 334.5)

  9. Step 800

    800

    #870078

    oklch(42.8% 0.191 334.4)

  10. Step 900

    900

    #710064

    oklch(37.7% 0.168 334.6)

  11. Step 950

    950

    #45023D

    oklch(27% 0.117 334.2)

Export this scale for Tailwind in the Tailwind colors tool

#E400CC 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)#006CD00.318
Deuteranopia (no green cones)#6B88C80.263
Tritanopia (no blue cones)#EF2F780.143
Achromatopsia (no color)#7E7E7E0.284

Harmonies

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

Complementary

The opposite hue (180°).

  • #E400CC

    #E400CC

    oklch(63.1% 0.282 334.4)

  • #00A45C

    #00A45C

    oklch(63.1% 0.158 154.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E400CC

    #E400CC

    oklch(63.1% 0.282 334.4)

  • #AC4FFF

    #AC4FFF

    oklch(63% 0.249 304.2)

  • #F80077

    #F80077

    oklch(63% 0.254 4.2)

Open the analogous palette in the generator

Split complementary

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

  • #E400CC

    #E400CC

    oklch(63.1% 0.282 334.4)

  • #759800

    #759800

    oklch(63% 0.157 124.4)

  • #009F91

    #009F91

    oklch(63.1% 0.112 184)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E400CC

    #E400CC

    oklch(63.1% 0.282 334.4)

  • #A38700

    #A38700

    oklch(63.1% 0.129 94.2)

  • #009AB3

    #009AB3

    oklch(63.1% 0.111 214.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E400CC

    #E400CC

    oklch(63.1% 0.282 334.4)

  • #C37400

    #C37400

    oklch(63.1% 0.142 64.7)

  • #00A45C

    #00A45C

    oklch(63.1% 0.158 154.5)

  • #0090E0

    #0090E0

    oklch(63% 0.157 244.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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