#E398DB#E398DB

#E398DB is a light, vivid purple. Relative luminance 0.439; OKLCH L 77.5% C 0.124 H 330.5°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#E398DB
RGBrgb(227, 152, 219)
HSLhsl(306, 57%, 74%)
HSVhsv(306, 33%, 89%)
CMYKcmyk(0%, 33%, 3.5%, 11%)
CIE-LABlab(72.16, 38.38, -22.67)
CIE-LCHlch(72.16, 44.58, 329.43°)
OKLaboklab(77.53% 0.1081 -0.0612)
OKLCHoklch(77.53% 0.124 330.5)
XYZxyz(55.6921, 43.9042, 72.5449)
Luminance0.4390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E398DB #98E3A0
analogous
#C698E3 #E398DB #E398B6
triadic
#E398DB #DBE398 #98DBE3
tetradic
#E398DB #E3C698 #98E3A0 #98B6E3
square
#E398DB #E3C698 #98E3A0 #98B6E3
split-complementary
#E398DB #B6E398 #98E3C6
monochromatic
#C938B9 #D668CA #E398DB #F0C8EC #F8E7F7

Accessibility & contrast

On white

2.15
#E398DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#E398DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E398DB
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E398DB#FFFFFF#000000##000000
##E398DB1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABDE
Deuteranopia (green-blind)
#A8B5D9
Tritanopia (blue-blind)
#E99DB0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e398db;
/* rgb */ color: rgb(227, 152, 219);
/* oklch */ color: oklch(77.5% 0.124 330.5);
Tailwind
colors: {
  custom: {
    50: '#edb7e6',
    500: '#e398db',
    950: '#000000',
  },
}
SCSS
$custom: #e398db;
$custom-light: #edb7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e398db",
  "rgb": {
    "r": 227,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 306.4,
    "s": 57.252,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77528,
    "c": 0.12421,
    "h": 330.5
  },
  "luminance": 0.43902
}

Semantic roles & 50–950 ramp

primary
#E398DB
secondary
#DBF0DD
accent
#C53221
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #E398DB

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

Preview Lab → · Contrast checker → · Palette generator →

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