#E397E2#E397E2

#E397E2 is a light, vivid purple. Relative luminance 0.440; OKLCH L 77.6% C 0.133 H 327.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#E397E2
RGBrgb(227, 151, 226)
HSLhsl(301, 58%, 74%)
HSVhsv(301, 33%, 89%)
CMYKcmyk(0%, 33.5%, 0.4%, 11%)
CIE-LABlab(72.20, 40.17, -26.46)
CIE-LCHlch(72.20, 48.10, 326.62°)
OKLaboklab(77.64% 0.1114 -0.0718)
OKLCHoklch(77.64% 0.133 327.2)
XYZxyz(56.4715, 43.9573, 77.4467)
Luminance0.4395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E397E2 #97E398
analogous
#BE97E3 #E397E2 #E397BC
triadic
#E397E2 #E2E397 #97E2E3
tetradic
#E397E2 #E3BE97 #97E398 #97BCE3
square
#E397E2 #E3BE97 #97E398 #97BCE3
split-complementary
#E397E2 #BCE397 #97E3BE
monochromatic
#C937C7 #D667D5 #E397E2 #F0C7EF #F9E7F8

Accessibility & contrast

On white

2.14
#E397E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#E397E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E397E2
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E397E2#FFFFFF#000000##000000
##E397E21.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ABE5
Deuteranopia (green-blind)
#A5B5DF
Tritanopia (blue-blind)
#E89EB3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e397e2;
/* rgb */ color: rgb(227, 151, 226);
/* oklch */ color: oklch(77.6% 0.133 327.2);
Tailwind
colors: {
  custom: {
    50: '#edb7eb',
    500: '#e397e2',
    950: '#000000',
  },
}
SCSS
$custom: #e397e2;
$custom-light: #edb7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#e397e2",
  "rgb": {
    "r": 227,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 300.789,
    "s": 57.576,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77638,
    "c": 0.13256,
    "h": 327.2
  },
  "luminance": 0.43955
}

Semantic roles & 50–950 ramp

primary
#E397E2
secondary
#DBF0DB
accent
#C52320
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #E397E2

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

Preview Lab → · Contrast checker → · Palette generator →

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