#E370DC#E370DC

#E370DC is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.6% C 0.192 H 329.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#E370DC
RGBrgb(227, 112, 220)
HSLhsl(304, 67%, 66%)
HSVhsv(304, 51%, 89%)
CMYKcmyk(0%, 50.7%, 3.1%, 11%)
CIE-LABlab(64.23, 58.84, -35.45)
CIE-LCHlch(64.23, 68.69, 328.93°)
OKLaboklab(71.6% 0.1658 -0.097)
OKLCHoklch(71.6% 0.192 329.7)
XYZxyz(50.3905, 33.0896, 71.4290)
Luminance0.3309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E370DC #70E377
analogous
#B170E3 #E370DC #E370A3
triadic
#E370DC #DCE370 #70DCE3
tetradic
#E370DC #E3B170 #70E377 #70A3E3
square
#E370DC #E3B170 #70E377 #70A3E3
split-complementary
#E370DC #A3E370 #70E3B1
monochromatic
#B523AC #D93DCF #E370DC #EDA3E9 #F7D6F5

Accessibility & contrast

On white

2.76
#E370DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#E370DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E370DC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E370DC#FFFFFF#000000##000000
##E370DC1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992E0
Deuteranopia (green-blind)
#8BA1D9
Tritanopia (blue-blind)
#EA7A9C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e370dc;
/* rgb */ color: rgb(227, 112, 220);
/* oklch */ color: oklch(71.6% 0.192 329.7);
Tailwind
colors: {
  custom: {
    50: '#ee9de7',
    500: '#e370dc',
    950: '#000000',
  },
}
SCSS
$custom: #e370dc;
$custom-light: #ee9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#e370dc",
  "rgb": {
    "r": 227,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 303.652,
    "s": 67.251,
    "l": 66.471
  },
  "oklch": {
    "l": 0.716,
    "c": 0.1921,
    "h": 329.7
  },
  "luminance": 0.33087
}

Semantic roles & 50–950 ramp

primary
#E370DC
secondary
#C5EAC7
accent
#CF2216
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E370DC

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

Preview Lab → · Contrast checker → · Palette generator →

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