#E397FA#E397FA

#E397FA is a light, vivid purple. Relative luminance 0.454; OKLCH L 78.6% C 0.157 H 318.1°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#E397FA
RGBrgb(227, 151, 250)
HSLhsl(286, 91%, 79%)
HSVhsv(286, 40%, 98%)
CMYKcmyk(9.2%, 39.6%, 0%, 2%)
CIE-LABlab(73.13, 44.72, -38.11)
CIE-LCHlch(73.13, 58.76, 319.56°)
OKLaboklab(78.65% 0.1169 -0.1049)
OKLCHoklch(78.65% 0.157 318.1)
XYZxyz(59.9981, 45.3680, 96.0203)
Luminance0.4537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E397FA #AEFA97
analogous
#B197FA #E397FA #FA97DF
triadic
#E397FA #FAE397 #97FAE3
tetradic
#E397FA #FAB197 #AEFA97 #97DFFA
square
#E397FA #FAB197 #AEFA97 #97DFFA
split-complementary
#E397FA #DFFA97 #97FAB1
monochromatic
#C422F4 #D35DF7 #E397FA #F3D1FD #F7E2FE

Accessibility & contrast

On white

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

On black

10.07
#E397FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E397FA
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E397FA#FFFFFF#000000##000000
##E397FA1.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e397fa;
/* rgb */ color: rgb(227, 151, 250);
/* oklch */ color: oklch(78.6% 0.157 318.1);
Tailwind
colors: {
  custom: {
    50: '#edb7fc',
    500: '#e397fa',
    950: '#000000',
  },
}
SCSS
$custom: #e397fa;
$custom-light: #edb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e397fa",
  "rgb": {
    "r": 227,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 286.061,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78649,
    "c": 0.15705,
    "h": 318.1
  },
  "luminance": 0.45366
}

Semantic roles & 50–950 ramp

primary
#E397FA
secondary
#DDF6D5
accent
#E60035
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E397FA

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

Preview Lab → · Contrast checker → · Palette generator →

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