#E398EB#E398EB

#E398EB is a light, vivid purple. Relative luminance 0.448; OKLCH L 78.2% C 0.140 H 323.4°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#E398EB
RGBrgb(227, 152, 235)
HSLhsl(294, 67%, 76%)
HSVhsv(294, 35%, 92%)
CMYKcmyk(3.4%, 35.3%, 0%, 7.8%)
CIE-LABlab(72.75, 41.31, -30.54)
CIE-LCHlch(72.75, 51.37, 323.52°)
OKLaboklab(78.17% 0.1122 -0.0833)
OKLCHoklch(78.17% 0.14 323.4)
XYZxyz(57.9006, 44.7875, 84.1760)
Luminance0.4479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E398EB #A0EB98
analogous
#B998EB #E398EB #EB98C9
triadic
#E398EB #EBE398 #98EBE3
tetradic
#E398EB #EBB998 #A0EB98 #98C9EB
square
#E398EB #EBB998 #A0EB98 #98C9EB
split-complementary
#E398EB #C9EB98 #98EBB9
monochromatic
#C732D7 #D565E1 #E398EB #F1CBF5 #F8E5FA

Accessibility & contrast

On white

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

On black

9.96
#E398EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E398EB
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E398EB#FFFFFF#000000##000000
##E398EB1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADEE
Deuteranopia (green-blind)
#A2B6E8
Tritanopia (blue-blind)
#E6A1B7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e398eb;
/* rgb */ color: rgb(227, 152, 235);
/* oklch */ color: oklch(78.2% 0.140 323.4);
Tailwind
colors: {
  custom: {
    50: '#edb7f1',
    500: '#e398eb',
    950: '#000000',
  },
}
SCSS
$custom: #e398eb;
$custom-light: #edb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e398eb",
  "rgb": {
    "r": 227,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 294.217,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78166,
    "c": 0.13973,
    "h": 323.4
  },
  "luminance": 0.44786
}

Semantic roles & 50–950 ramp

primary
#E398EB
secondary
#DCF2D9
accent
#CF1628
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #E398EB

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

Preview Lab → · Contrast checker → · Palette generator →

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