#E218DD#E218DD

#E218DD is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 64.2% C 0.284 H 329.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#E218DD
RGBrgb(226, 24, 221)
HSLhsl(301, 81%, 49%)
HSVhsv(301, 89%, 89%)
CMYKcmyk(0%, 89.4%, 2.2%, 11.4%)
CIE-LABlab(54.08, 86.90, -52.03)
CIE-LCHlch(54.08, 101.29, 329.09°)
OKLaboklab(64.24% 0.2452 -0.1443)
OKLCHoklch(64.24% 0.285 329.5)
XYZxyz(44.7416, 22.0462, 70.2915)
Luminance0.2204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E218DD #18E21D
analogous
#8218E2 #E218DD #E21878
triadic
#E218DD #DDE218 #18DDE2
tetradic
#E218DD #E28218 #18E21D #1878E2
square
#E218DD #E28218 #18E21D #1878E2
split-complementary
#E218DD #78E218 #18E282
monochromatic
#730C71 #AB12A7 #E218DD #EC4BE8 #F283EF

Accessibility & contrast

On white

3.88
#E218DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#E218DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E218DD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E218DD#FFFFFF#000000##000000
##E218DD1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#628AD9
Tritanopia (blue-blind)
#EA4384
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #e218dd;
/* rgb */ color: rgb(226, 24, 221);
/* oklch */ color: oklch(64.2% 0.284 329.5);
Tailwind
colors: {
  custom: {
    50: '#f078e8',
    500: '#e218dd',
    950: '#000000',
  },
}
SCSS
$custom: #e218dd;
$custom-light: #f078e8;
$custom-dark: #000000;
JSON
{
  "hex": "#e218dd",
  "rgb": {
    "r": 226,
    "g": 24,
    "b": 221
  },
  "hsl": {
    "h": 301.485,
    "s": 80.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.64243,
    "c": 0.2845,
    "h": 329.5
  },
  "luminance": 0.22042
}

Semantic roles & 50–950 ramp

primary
#E218DD
secondary
#7BDA7E
accent
#F73631
background
#FFF8FE
surface
#FFEFFD
border
#D7CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #E218DD

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

Preview Lab → · Contrast checker → · Palette generator →

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