#E397EF#E397EF

#E397EF is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.2% C 0.146 H 321.9°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#E397EF
RGBrgb(227, 151, 239)
HSLhsl(292, 73%, 76%)
HSVhsv(292, 37%, 94%)
CMYKcmyk(5%, 36.8%, 0%, 6.3%)
CIE-LABlab(72.69, 42.59, -32.81)
CIE-LCHlch(72.69, 53.76, 322.39°)
OKLaboklab(78.17% 0.1146 -0.0898)
OKLCHoklch(78.17% 0.146 321.9)
XYZxyz(58.3233, 44.6981, 87.1999)
Luminance0.4470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E397EF #A3EF97
analogous
#B797EF #E397EF #EF97CF
triadic
#E397EF #EFE397 #97EFE3
tetradic
#E397EF #EFB797 #A3EF97 #97CFEF
square
#E397EF #EFB797 #A3EF97 #97CFEF
split-complementary
#E397EF #CFEF97 #97EFB7
monochromatic
#C62DDF #D562E7 #E397EF #F1CCF7 #F8E4FB

Accessibility & contrast

On white

2.11
#E397EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#E397EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E397EF
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E397EF#FFFFFF#000000##000000
##E397EF1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DADF2
Deuteranopia (green-blind)
#A0B5EC
Tritanopia (blue-blind)
#E5A1B8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e397ef;
/* rgb */ color: rgb(227, 151, 239);
/* oklch */ color: oklch(78.2% 0.146 321.9);
Tailwind
colors: {
  custom: {
    50: '#edb7f4',
    500: '#e397ef',
    950: '#000000',
  },
}
SCSS
$custom: #e397ef;
$custom-light: #edb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e397ef",
  "rgb": {
    "r": 227,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 291.818,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78172,
    "c": 0.14554,
    "h": 321.9
  },
  "luminance": 0.44696
}

Semantic roles & 50–950 ramp

primary
#E397EF
secondary
#DCF3D8
accent
#D5102B
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #E397EF

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

Preview Lab → · Contrast checker → · Palette generator →

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