#E398DD#E398DD

#E398DD is a light, vivid purple. Relative luminance 0.440; OKLCH L 77.6% C 0.126 H 329.5°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#E398DD
RGBrgb(227, 152, 221)
HSLhsl(305, 57%, 74%)
HSVhsv(305, 33%, 89%)
CMYKcmyk(0%, 33%, 2.6%, 11%)
CIE-LABlab(72.24, 38.73, -23.66)
CIE-LCHlch(72.24, 45.39, 328.58°)
OKLaboklab(77.61% 0.1086 -0.064)
OKLCHoklch(77.61% 0.126 329.5)
XYZxyz(55.9570, 44.0101, 73.9399)
Luminance0.4401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E398DD #98E39E
analogous
#C498E3 #E398DD #E398B8
triadic
#E398DD #DDE398 #98DDE3
tetradic
#E398DD #E3C498 #98E39E #98B8E3
square
#E398DD #E3C498 #98E39E #98B8E3
split-complementary
#E398DD #B8E398 #98E3C4
monochromatic
#C938BD #D668CD #E398DD #F0C8ED #F8E7F7

Accessibility & contrast

On white

2.14
#E398DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#E398DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E398DD
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E398DD#FFFFFF#000000##000000
##E398DD1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABE0
Deuteranopia (green-blind)
#A7B5DB
Tritanopia (blue-blind)
#E99DB1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e398dd;
/* rgb */ color: rgb(227, 152, 221);
/* oklch */ color: oklch(77.6% 0.126 329.5);
Tailwind
colors: {
  custom: {
    50: '#edb7e7',
    500: '#e398dd',
    950: '#000000',
  },
}
SCSS
$custom: #e398dd;
$custom-light: #edb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e398dd",
  "rgb": {
    "r": 227,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 304.8,
    "s": 57.252,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77605,
    "c": 0.12607,
    "h": 329.5
  },
  "luminance": 0.44008
}

Semantic roles & 50–950 ramp

primary
#E398DD
secondary
#DBF0DD
accent
#C52E21
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #E398DD

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

Preview Lab → · Contrast checker → · Palette generator →

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