#E397FF#E397FF

#E397FF is a light, vivid purple. Relative luminance 0.457; OKLCH L 78.9% C 0.162 H 316.5°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#E397FF
RGBrgb(227, 151, 255)
HSLhsl(284, 100%, 80%)
HSVhsv(284, 41%, 100%)
CMYKcmyk(11%, 40.8%, 0%, 0%)
CIE-LABlab(73.34, 45.71, -40.50)
CIE-LCHlch(73.34, 61.07, 318.46°)
OKLaboklab(78.87% 0.1179 -0.1117)
OKLCHoklch(78.87% 0.162 316.5)
XYZxyz(60.7925, 45.6857, 100.2042)
Luminance0.4568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E397FF #B3FF97
analogous
#AF97FF #E397FF #FF97E7
triadic
#E397FF #FFE397 #97FFE3
tetradic
#E397FF #FFAF97 #B3FF97 #97E7FF
square
#E397FF #FFAF97 #B3FF97 #97E7FF
split-complementary
#E397FF #E7FF97 #97FFAF
monochromatic
#C21DFF #D35AFF #E397FF #F3D4FF #F7E0FF

Accessibility & contrast

On white

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

On black

10.14
#E397FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E397FF
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E397FF#FFFFFF#000000##000000
##E397FF1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e397ff;
/* rgb */ color: rgb(227, 151, 255);
/* oklch */ color: oklch(78.9% 0.162 316.5);
Tailwind
colors: {
  custom: {
    50: '#edb7ff',
    500: '#e397ff',
    950: '#000000',
  },
}
SCSS
$custom: #e397ff;
$custom-light: #edb7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e397ff",
  "rgb": {
    "r": 227,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 283.846,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78873,
    "c": 0.16241,
    "h": 316.5
  },
  "luminance": 0.45684
}

Semantic roles & 50–950 ramp

primary
#E397FF
secondary
#DDF7D4
accent
#E6003E
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #E397FF

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

Preview Lab → · Contrast checker → · Palette generator →

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