#E397FD#E397FD

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

Color values

HEX#E397FD
RGBrgb(227, 151, 253)
HSLhsl(285, 96%, 79%)
HSVhsv(285, 40%, 99%)
CMYKcmyk(10.3%, 40.3%, 0%, 0.8%)
CIE-LABlab(73.26, 45.31, -39.55)
CIE-LCHlch(73.26, 60.14, 318.88°)
OKLaboklab(78.78% 0.1175 -0.109)
OKLCHoklch(78.78% 0.16 317.1)
XYZxyz(60.4722, 45.5576, 98.5174)
Luminance0.4556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E397FD #B1FD97
analogous
#B097FD #E397FD #FD97E4
triadic
#E397FD #FDE397 #97FDE3
tetradic
#E397FD #FDB097 #B1FD97 #97E4FD
square
#E397FD #FDB097 #B1FD97 #97E4FD
split-complementary
#E397FD #E4FD97 #97FDB0
monochromatic
#C31FFB #D35BFC #E397FD #F3D3FE #F7E1FE

Accessibility & contrast

On white

2.08
#E397FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#E397FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E397FD
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E397FD#FFFFFF#000000##000000
##E397FD1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#9AB6FA
Tritanopia (blue-blind)
#E3A4BE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e397fd;
/* rgb */ color: rgb(227, 151, 253);
/* oklch */ color: oklch(78.8% 0.160 317.1);
Tailwind
colors: {
  custom: {
    50: '#edb7fe',
    500: '#e397fd',
    950: '#000000',
  },
}
SCSS
$custom: #e397fd;
$custom-light: #edb7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e397fd",
  "rgb": {
    "r": 227,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 284.706,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78783,
    "c": 0.16026,
    "h": 317.1
  },
  "luminance": 0.45556
}

Semantic roles & 50–950 ramp

primary
#E397FD
secondary
#DDF7D4
accent
#E6003A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #E397FD

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

Preview Lab → · Contrast checker → · Palette generator →

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