#ED42E1#ED42E1

#ED42E1 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 68.4% C 0.262 H 331.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#ED42E1
RGBrgb(237, 66, 225)
HSLhsl(304, 83%, 59%)
HSVhsv(304, 72%, 93%)
CMYKcmyk(0%, 72.2%, 5.1%, 7.1%)
CIE-LABlab(59.29, 80.35, -45.91)
CIE-LCHlch(59.29, 92.54, 330.26°)
OKLaboklab(68.36% 0.2291 -0.1265)
OKLCHoklch(68.36% 0.262 331.1)
XYZxyz(50.4638, 27.3412, 73.8391)
Luminance0.2734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED42E1 #42ED4E
analogous
#A442ED #ED42E1 #ED428B
triadic
#ED42E1 #E1ED42 #42E1ED
tetradic
#ED42E1 #EDA442 #42ED4E #428BED
square
#ED42E1 #EDA442 #42ED4E #428BED
split-complementary
#ED42E1 #8BED42 #42EDA4
monochromatic
#A5109A #DD15CF #ED42E1 #F27AEA #F8B2F3

Accessibility & contrast

On white

3.25
#ED42E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#ED42E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED42E1
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED42E1#FFFFFF#000000##000000
##ED42E11.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3280E5
Deuteranopia (green-blind)
#7897DD
Tritanopia (blue-blind)
#F6578E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ed42e1;
/* rgb */ color: rgb(237, 66, 225);
/* oklch */ color: oklch(68.4% 0.262 331.1);
Tailwind
colors: {
  custom: {
    50: '#f786eb',
    500: '#ed42e1',
    950: '#000000',
  },
}
SCSS
$custom: #ed42e1;
$custom-light: #f786eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed42e1",
  "rgb": {
    "r": 237,
    "g": 66,
    "b": 225
  },
  "hsl": {
    "h": 304.211,
    "s": 82.609,
    "l": 59.412
  },
  "oklch": {
    "l": 0.68361,
    "c": 0.26172,
    "h": 331.1
  },
  "luminance": 0.27337
}

Semantic roles & 50–950 ramp

primary
#ED42E1
secondary
#A4E7A9
accent
#F93D2F
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#180C16
muted
#867D84

Preview Lab

Preview with #ED42E1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#ED42E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva