#E340D8#E340D8

#E340D8 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.3% C 0.253 H 331.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#E340D8
RGBrgb(227, 64, 216)
HSLhsl(304, 74%, 57%)
HSVhsv(304, 72%, 89%)
CMYKcmyk(0%, 71.8%, 4.8%, 11%)
CIE-LABlab(57.04, 77.49, -44.49)
CIE-LCHlch(57.04, 89.35, 330.14°)
OKLaboklab(66.29% 0.2208 -0.1226)
OKLCHoklch(66.29% 0.253 331)
XYZxyz(45.9065, 24.9592, 67.3522)
Luminance0.2496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E340D8 #40E34B
analogous
#9D40E3 #E340D8 #E34087
triadic
#E340D8 #D8E340 #40D8E3
tetradic
#E340D8 #E39D40 #40E34B #4087E3
square
#E340D8 #E39D40 #40E34B #4087E3
split-complementary
#E340D8 #87E340 #40E39D
monochromatic
#93168B #C81DBD #E340D8 #EB75E3 #F3ABEE

Accessibility & contrast

On white

3.51
#E340D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#E340D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E340D8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E340D8#FFFFFF#000000##000000
##E340D81.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#317BDC
Deuteranopia (green-blind)
#7291D4
Tritanopia (blue-blind)
#EC5488
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e340d8;
/* rgb */ color: rgb(227, 64, 216);
/* oklch */ color: oklch(66.3% 0.253 331.0);
Tailwind
colors: {
  custom: {
    50: '#f084e4',
    500: '#e340d8',
    950: '#000000',
  },
}
SCSS
$custom: #e340d8;
$custom-light: #f084e4;
$custom-dark: #000000;
JSON
{
  "hex": "#e340d8",
  "rgb": {
    "r": 227,
    "g": 64,
    "b": 216
  },
  "hsl": {
    "h": 304.049,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.66294,
    "c": 0.25251,
    "h": 331
  },
  "luminance": 0.24956
}

Semantic roles & 50–950 ramp

primary
#E340D8
secondary
#9EE1A3
accent
#F14337
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #E340D8

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

Preview Lab → · Contrast checker → · Palette generator →

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