#E397EB#E397EB

#E397EB is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.0% C 0.141 H 323.5°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#E397EB
RGBrgb(227, 151, 235)
HSLhsl(294, 68%, 76%)
HSVhsv(294, 36%, 92%)
CMYKcmyk(3.4%, 35.7%, 0%, 7.8%)
CIE-LABlab(72.54, 41.83, -30.87)
CIE-LCHlch(72.54, 51.99, 323.58°)
OKLaboklab(78% 0.1136 -0.0842)
OKLCHoklch(78% 0.141 323.5)
XYZxyz(57.7390, 44.4643, 84.1222)
Luminance0.4446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E397EB #9FEB97
analogous
#B997EB #E397EB #EB97C9
triadic
#E397EB #EBE397 #97EBE3
tetradic
#E397EB #EBB997 #9FEB97 #97C9EB
square
#E397EB #EBB997 #9FEB97 #97C9EB
split-complementary
#E397EB #C9EB97 #97EBB9
monochromatic
#C730D7 #D564E1 #E397EB #F1CAF5 #F8E5FA

Accessibility & contrast

On white

2.12
#E397EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#E397EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E397EB
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E397EB#FFFFFF#000000##000000
##E397EB1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEE
Deuteranopia (green-blind)
#A2B5E8
Tritanopia (blue-blind)
#E6A0B6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e397eb;
/* rgb */ color: rgb(227, 151, 235);
/* oklch */ color: oklch(78.0% 0.141 323.5);
Tailwind
colors: {
  custom: {
    50: '#edb7f1',
    500: '#e397eb',
    950: '#000000',
  },
}
SCSS
$custom: #e397eb;
$custom-light: #edb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e397eb",
  "rgb": {
    "r": 227,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 294.286,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78004,
    "c": 0.14146,
    "h": 323.5
  },
  "luminance": 0.44462
}

Semantic roles & 50–950 ramp

primary
#E397EB
secondary
#DCF2D9
accent
#D01628
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #E397EB

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

Preview Lab → · Contrast checker → · Palette generator →

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