#E397EC#E397EC

#E397EC is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.0% C 0.142 H 323.1°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#E397EC
RGBrgb(227, 151, 236)
HSLhsl(294, 69%, 76%)
HSVhsv(294, 36%, 93%)
CMYKcmyk(3.8%, 36%, 0%, 7.5%)
CIE-LABlab(72.58, 42.02, -31.35)
CIE-LCHlch(72.58, 52.43, 323.27°)
OKLaboklab(78.05% 0.1139 -0.0856)
OKLCHoklch(78.05% 0.142 323.1)
XYZxyz(57.8838, 44.5223, 84.8852)
Luminance0.4452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E397EC #A0EC97
analogous
#B897EC #E397EC #EC97CA
triadic
#E397EC #ECE397 #97ECE3
tetradic
#E397EC #ECB897 #A0EC97 #97CAEC
square
#E397EC #ECB897 #A0EC97 #97CAEC
split-complementary
#E397EC #CAEC97 #97ECB8
monochromatic
#C730D9 #D563E3 #E397EC #F1CBF5 #F8E5FA

Accessibility & contrast

On white

2.12
#E397EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#E397EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E397EC
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E397EC#FFFFFF#000000##000000
##E397EC1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEF
Deuteranopia (green-blind)
#A1B5E9
Tritanopia (blue-blind)
#E6A0B7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e397ec;
/* rgb */ color: rgb(227, 151, 236);
/* oklch */ color: oklch(78.0% 0.142 323.1);
Tailwind
colors: {
  custom: {
    50: '#edb7f2',
    500: '#e397ec',
    950: '#000000',
  },
}
SCSS
$custom: #e397ec;
$custom-light: #edb7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e397ec",
  "rgb": {
    "r": 227,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 293.647,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78046,
    "c": 0.14247,
    "h": 323.1
  },
  "luminance": 0.4452
}

Semantic roles & 50–950 ramp

primary
#E397EC
secondary
#DCF2D9
accent
#D11428
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #E397EC

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

Preview Lab → · Contrast checker → · Palette generator →

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