#E397DC#E397DC

#E397DC is a light, vivid purple. Relative luminance 0.436; OKLCH L 77.4% C 0.127 H 330.0°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#E397DC
RGBrgb(227, 151, 220)
HSLhsl(306, 58%, 74%)
HSVhsv(306, 33%, 89%)
CMYKcmyk(0%, 33.5%, 3.1%, 11%)
CIE-LABlab(71.98, 39.09, -23.50)
CIE-LCHlch(71.98, 45.61, 328.98°)
OKLaboklab(77.4% 0.1099 -0.0635)
OKLCHoklch(77.4% 0.127 330)
XYZxyz(55.6625, 43.6337, 73.1864)
Luminance0.4363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E397DC #97E39E
analogous
#C497E3 #E397DC #E397B6
triadic
#E397DC #DCE397 #97DCE3
tetradic
#E397DC #E3C497 #97E39E #97B6E3
square
#E397DC #E3C497 #97E39E #97B6E3
split-complementary
#E397DC #B6E397 #97E3C4
monochromatic
#C937BC #D667CC #E397DC #F0C7EC #F9E7F7

Accessibility & contrast

On white

2.16
#E397DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#E397DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E397DC
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E397DC#FFFFFF#000000##000000
##E397DC1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AADF
Deuteranopia (green-blind)
#A7B4DA
Tritanopia (blue-blind)
#E99CB0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #e397dc;
/* rgb */ color: rgb(227, 151, 220);
/* oklch */ color: oklch(77.4% 0.127 330.0);
Tailwind
colors: {
  custom: {
    50: '#edb7e7',
    500: '#e397dc',
    950: '#000000',
  },
}
SCSS
$custom: #e397dc;
$custom-light: #edb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e397dc",
  "rgb": {
    "r": 227,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 305.526,
    "s": 57.576,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77402,
    "c": 0.12689,
    "h": 330
  },
  "luminance": 0.43631
}

Semantic roles & 50–950 ramp

primary
#E397DC
secondary
#DBF0DD
accent
#C53020
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #E397DC

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

Preview Lab → · Contrast checker → · Palette generator →

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