#E940DC#E940DC

#E940DC is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.4% C 0.258 H 331.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#E940DC
RGBrgb(233, 64, 220)
HSLhsl(305, 79%, 58%)
HSVhsv(305, 73%, 91%)
CMYKcmyk(0%, 72.5%, 5.6%, 8.6%)
CIE-LABlab(58.19, 79.37, -44.86)
CIE-LCHlch(58.19, 91.17, 330.52°)
OKLaboklab(67.37% 0.2268 -0.1235)
OKLCHoklch(67.37% 0.258 331.4)
XYZxyz(48.3559, 26.1616, 70.1992)
Luminance0.2616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E940DC #40E94D
analogous
#A140E9 #E940DC #E94088
triadic
#E940DC #DCE940 #40DCE9
tetradic
#E940DC #E9A140 #40E94D #4088E9
square
#E940DC #E9A140 #40E94D #4088E9
split-complementary
#E940DC #88E940 #40E9A1
monochromatic
#9D1292 #D318C5 #E940DC #EF77E6 #F6AEF0

Accessibility & contrast

On white

3.37
#E940DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#E940DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E940DC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E940DC#FFFFFF#000000##000000
##E940DC1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#327DE0
Deuteranopia (green-blind)
#7694D8
Tritanopia (blue-blind)
#F2548B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #e940dc;
/* rgb */ color: rgb(233, 64, 220);
/* oklch */ color: oklch(67.4% 0.258 331.4);
Tailwind
colors: {
  custom: {
    50: '#f485e7',
    500: '#e940dc',
    950: '#000000',
  },
}
SCSS
$custom: #e940dc;
$custom-light: #f485e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e940dc",
  "rgb": {
    "r": 233,
    "g": 64,
    "b": 220
  },
  "hsl": {
    "h": 304.615,
    "s": 79.343,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6737,
    "c": 0.25828,
    "h": 331.4
  },
  "luminance": 0.26158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E940DC

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

Preview Lab → · Contrast checker → · Palette generator →

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