#E398DC#E398DC

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

Color values

HEX#E398DC
RGBrgb(227, 152, 220)
HSLhsl(306, 57%, 74%)
HSVhsv(306, 33%, 89%)
CMYKcmyk(0%, 33%, 3.1%, 11%)
CIE-LABlab(72.20, 38.56, -23.17)
CIE-LCHlch(72.20, 44.98, 329.00°)
OKLaboklab(77.57% 0.1084 -0.0626)
OKLCHoklch(77.57% 0.125 330)
XYZxyz(55.8242, 43.9570, 73.2403)
Luminance0.4395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E398DC #98E39F
analogous
#C598E3 #E398DC #E398B7
triadic
#E398DC #DCE398 #98DCE3
tetradic
#E398DC #E3C598 #98E39F #98B7E3
square
#E398DC #E3C598 #98E39F #98B7E3
split-complementary
#E398DC #B7E398 #98E3C5
monochromatic
#C938BB #D668CC #E398DC #F0C8EC #F8E7F7

Accessibility & contrast

On white

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

On black

9.79
#E398DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E398DC
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E398DC#FFFFFF#000000##000000
##E398DC1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e398dc;
/* rgb */ color: rgb(227, 152, 220);
/* oklch */ color: oklch(77.6% 0.125 330.0);
Tailwind
colors: {
  custom: {
    50: '#edb7e7',
    500: '#e398dc',
    950: '#000000',
  },
}
SCSS
$custom: #e398dc;
$custom-light: #edb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e398dc",
  "rgb": {
    "r": 227,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 305.6,
    "s": 57.252,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77566,
    "c": 0.12514,
    "h": 330
  },
  "luminance": 0.43955
}

Semantic roles & 50–950 ramp

primary
#E398DC
secondary
#DBF0DD
accent
#C53021
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #E398DC

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

Preview Lab → · Contrast checker → · Palette generator →

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