#E940DB#E940DB

#E940DB is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 67.3% C 0.258 H 331.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#E940DB
RGBrgb(233, 64, 219)
HSLhsl(305, 79%, 58%)
HSVhsv(305, 73%, 91%)
CMYKcmyk(0%, 72.5%, 6%, 8.6%)
CIE-LABlab(58.14, 79.22, -44.38)
CIE-LCHlch(58.14, 90.80, 330.74°)
OKLaboklab(67.32% 0.2268 -0.1221)
OKLCHoklch(67.32% 0.258 331.7)
XYZxyz(48.2239, 26.1088, 69.5037)
Luminance0.2611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E940DB #40E94E
analogous
#A240E9 #E940DB #E94087
triadic
#E940DB #DBE940 #40DBE9
tetradic
#E940DB #E9A240 #40E94E #4087E9
square
#E940DB #E9A240 #40E94E #4087E9
split-complementary
#E940DB #87E940 #40E9A2
monochromatic
#9D1291 #D318C4 #E940DB #EF77E5 #F6AEF0

Accessibility & contrast

On white

3.38
#E940DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#E940DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E940DB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E940DB#FFFFFF#000000##000000
##E940DB1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DDF
Deuteranopia (green-blind)
#7694D7
Tritanopia (blue-blind)
#F3548A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #e940db;
/* rgb */ color: rgb(233, 64, 219);
/* oklch */ color: oklch(67.3% 0.258 331.7);
Tailwind
colors: {
  custom: {
    50: '#f485e6',
    500: '#e940db',
    950: '#000000',
  },
}
SCSS
$custom: #e940db;
$custom-light: #f485e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e940db",
  "rgb": {
    "r": 233,
    "g": 64,
    "b": 219
  },
  "hsl": {
    "h": 304.97,
    "s": 79.343,
    "l": 58.235
  },
  "oklch": {
    "l": 0.67318,
    "c": 0.25758,
    "h": 331.7
  },
  "luminance": 0.26105
}

Semantic roles & 50–950 ramp

primary
#E940DB
secondary
#A1E4A6
accent
#F64232
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#180C16
muted
#867D84

Preview Lab

Preview with #E940DB

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

Preview Lab → · Contrast checker → · Palette generator →

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