#E331DA#E331DA

#E331DA is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 65.4% C 0.268 H 330.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#E331DA
RGBrgb(227, 49, 218)
HSLhsl(303, 76%, 54%)
HSVhsv(303, 78%, 89%)
CMYKcmyk(0%, 78.4%, 4%, 11%)
CIE-LABlab(55.68, 81.98, -47.77)
CIE-LCHlch(55.68, 94.88, 329.77°)
OKLaboklab(65.36% 0.2329 -0.132)
OKLCHoklch(65.36% 0.268 330.5)
XYZxyz(45.4316, 23.5932, 68.4772)
Luminance0.2359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E331DA #31E33A
analogous
#9331E3 #E331DA #E33181
triadic
#E331DA #DAE331 #31DAE3
tetradic
#E331DA #E39331 #31E33A #3181E3
square
#E331DA #E39331 #31E33A #3181E3
split-complementary
#E331DA #81E331 #31E393
monochromatic
#871281 #BD1AB5 #E331DA #EA67E4 #F29DED

Accessibility & contrast

On white

3.67
#E331DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#E331DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E331DA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E331DA#FFFFFF#000000##000000
##E331DA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1176DE
Deuteranopia (green-blind)
#6C8ED6
Tritanopia (blue-blind)
#EC4C86
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #e331da;
/* rgb */ color: rgb(227, 49, 218);
/* oklch */ color: oklch(65.4% 0.268 330.5);
Tailwind
colors: {
  custom: {
    50: '#f07ee6',
    500: '#e331da',
    950: '#000000',
  },
}
SCSS
$custom: #e331da;
$custom-light: #f07ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#e331da",
  "rgb": {
    "r": 227,
    "g": 49,
    "b": 218
  },
  "hsl": {
    "h": 303.034,
    "s": 76.068,
    "l": 54.118
  },
  "oklch": {
    "l": 0.65357,
    "c": 0.26768,
    "h": 330.5
  },
  "luminance": 0.23589
}

Semantic roles & 50–950 ramp

primary
#E331DA
secondary
#92DE96
accent
#F33F35
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #E331DA

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

Preview Lab → · Contrast checker → · Palette generator →

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