#E397FB#E397FB

#E397FB is a light, vivid purple. Relative luminance 0.454; OKLCH L 78.7% C 0.158 H 317.8°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#E397FB
RGBrgb(227, 151, 251)
HSLhsl(286, 93%, 79%)
HSVhsv(286, 40%, 98%)
CMYKcmyk(9.6%, 39.8%, 0%, 1.6%)
CIE-LABlab(73.17, 44.91, -38.59)
CIE-LCHlch(73.17, 59.22, 319.33°)
OKLaboklab(78.69% 0.1171 -0.1062)
OKLCHoklch(78.69% 0.158 317.8)
XYZxyz(60.1553, 45.4309, 96.8483)
Luminance0.4543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E397FB #AFFB97
analogous
#B197FB #E397FB #FB97E1
triadic
#E397FB #FBE397 #97FBE3
tetradic
#E397FB #FBB197 #AFFB97 #97E1FB
square
#E397FB #FBB197 #AFFB97 #97E1FB
split-complementary
#E397FB #E1FB97 #97FBB1
monochromatic
#C321F6 #D35CF9 #E397FB #F3D2FD #F7E2FE

Accessibility & contrast

On white

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

On black

10.09
#E397FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E397FB
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E397FB#FFFFFF#000000##000000
##E397FB1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFF
Deuteranopia (green-blind)
#9BB6F8
Tritanopia (blue-blind)
#E3A4BD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e397fb;
/* rgb */ color: rgb(227, 151, 251);
/* oklch */ color: oklch(78.7% 0.158 317.8);
Tailwind
colors: {
  custom: {
    50: '#edb7fd',
    500: '#e397fb',
    950: '#000000',
  },
}
SCSS
$custom: #e397fb;
$custom-light: #edb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e397fb",
  "rgb": {
    "r": 227,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 285.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78693,
    "c": 0.15812,
    "h": 317.8
  },
  "luminance": 0.45429
}

Semantic roles & 50–950 ramp

primary
#E397FB
secondary
#DDF6D5
accent
#E60037
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E397FB

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

Preview Lab → · Contrast checker → · Palette generator →

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