#E840DB#E840DB

#E840DB is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 67.2% C 0.257 H 331.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#E840DB
RGBrgb(232, 64, 219)
HSLhsl(305, 79%, 58%)
HSVhsv(305, 72%, 91%)
CMYKcmyk(0%, 72.4%, 5.6%, 9%)
CIE-LABlab(57.98, 79.01, -44.64)
CIE-LCHlch(57.98, 90.75, 330.53°)
OKLaboklab(67.17% 0.2258 -0.1229)
OKLCHoklch(67.17% 0.257 331.4)
XYZxyz(47.8983, 25.9409, 69.4885)
Luminance0.2594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E840DB #40E84D
analogous
#A140E8 #E840DB #E84087
triadic
#E840DB #DBE840 #40DBE8
tetradic
#E840DB #E8A140 #40E84D #4087E8
square
#E840DB #E8A140 #40E84D #4087E8
split-complementary
#E840DB #87E840 #40E8A1
monochromatic
#9B1390 #D219C3 #E840DB #EF77E5 #F5ADF0

Accessibility & contrast

On white

3.39
#E840DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#E840DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E840DB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E840DB#FFFFFF#000000##000000
##E840DB1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDF
Deuteranopia (green-blind)
#7594D7
Tritanopia (blue-blind)
#F1548A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #e840db;
/* rgb */ color: rgb(232, 64, 219);
/* oklch */ color: oklch(67.2% 0.257 331.4);
Tailwind
colors: {
  custom: {
    50: '#f385e6',
    500: '#e840db',
    950: '#000000',
  },
}
SCSS
$custom: #e840db;
$custom-light: #f385e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e840db",
  "rgb": {
    "r": 232,
    "g": 64,
    "b": 219
  },
  "hsl": {
    "h": 304.643,
    "s": 78.505,
    "l": 58.039
  },
  "oklch": {
    "l": 0.67173,
    "c": 0.25708,
    "h": 331.4
  },
  "luminance": 0.25937
}

Semantic roles & 50–950 ramp

primary
#E840DB
secondary
#A0E3A6
accent
#F54233
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#180C16
muted
#867D84

Preview Lab

Preview with #E840DB

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

Preview Lab → · Contrast checker → · Palette generator →

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