#E398EA#E398EA

#E398EA is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.1% C 0.139 H 323.8°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#E398EA
RGBrgb(227, 152, 234)
HSLhsl(295, 66%, 76%)
HSVhsv(295, 35%, 92%)
CMYKcmyk(3%, 35%, 0%, 8.2%)
CIE-LABlab(72.71, 41.12, -30.05)
CIE-LCHlch(72.71, 50.93, 323.84°)
OKLaboklab(78.12% 0.112 -0.0819)
OKLCHoklch(78.12% 0.139 323.8)
XYZxyz(57.7565, 44.7299, 83.4173)
Luminance0.4473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E398EA #9FEA98
analogous
#BA98EA #E398EA #EA98C8
triadic
#E398EA #EAE398 #98EAE3
tetradic
#E398EA #EABA98 #9FEA98 #98C8EA
square
#E398EA #EABA98 #9FEA98 #98C8EA
split-complementary
#E398EA #C8EA98 #98EABA
monochromatic
#C732D5 #D565E0 #E398EA #F1CBF4 #F8E6FA

Accessibility & contrast

On white

2.11
#E398EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#E398EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E398EA
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E398EA#FFFFFF#000000##000000
##E398EA1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADED
Deuteranopia (green-blind)
#A3B6E7
Tritanopia (blue-blind)
#E6A0B7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e398ea;
/* rgb */ color: rgb(227, 152, 234);
/* oklch */ color: oklch(78.1% 0.139 323.8);
Tailwind
colors: {
  custom: {
    50: '#edb7f1',
    500: '#e398ea',
    950: '#000000',
  },
}
SCSS
$custom: #e398ea;
$custom-light: #edb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e398ea",
  "rgb": {
    "r": 227,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 294.878,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78124,
    "c": 0.13873,
    "h": 323.8
  },
  "luminance": 0.44728
}

Semantic roles & 50–950 ramp

primary
#E398EA
secondary
#DCF1DA
accent
#CE1827
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #E398EA

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

Preview Lab → · Contrast checker → · Palette generator →

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