#E397FE#E397FE

#E397FE is a light, vivid purple. Relative luminance 0.456; OKLCH L 78.8% C 0.161 H 316.8°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#E397FE
RGBrgb(227, 151, 254)
HSLhsl(284, 98%, 79%)
HSVhsv(284, 41%, 100%)
CMYKcmyk(10.6%, 40.6%, 0%, 0.4%)
CIE-LABlab(73.30, 45.51, -40.03)
CIE-LCHlch(73.30, 60.61, 318.67°)
OKLaboklab(78.83% 0.1177 -0.1104)
OKLCHoklch(78.83% 0.161 316.8)
XYZxyz(60.6320, 45.6215, 99.3586)
Luminance0.4562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E397FE #B2FE97
analogous
#B097FE #E397FE #FE97E5
triadic
#E397FE #FEE397 #97FEE3
tetradic
#E397FE #FEB097 #B2FE97 #97E5FE
square
#E397FE #FEB097 #B2FE97 #97E5FE
split-complementary
#E397FE #E5FE97 #97FEB0
monochromatic
#C21EFD #D35AFD #E397FE #F3D4FF #F7E1FF

Accessibility & contrast

On white

2.07
#E397FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#E397FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E397FE
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E397FE#FFFFFF#000000##000000
##E397FE1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#9AB6FB
Tritanopia (blue-blind)
#E2A5BF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e397fe;
/* rgb */ color: rgb(227, 151, 254);
/* oklch */ color: oklch(78.8% 0.161 316.8);
Tailwind
colors: {
  custom: {
    50: '#edb7ff',
    500: '#e397fe',
    950: '#000000',
  },
}
SCSS
$custom: #e397fe;
$custom-light: #edb7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e397fe",
  "rgb": {
    "r": 227,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 284.272,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78828,
    "c": 0.16133,
    "h": 316.8
  },
  "luminance": 0.4562
}

Semantic roles & 50–950 ramp

primary
#E397FE
secondary
#DDF7D4
accent
#E6003C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #E397FE

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

Preview Lab → · Contrast checker → · Palette generator →

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