#E397DF#E397DF

#E397DF is a light, vivid purple. Relative luminance 0.438; OKLCH L 77.5% C 0.130 H 328.6°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#E397DF
RGBrgb(227, 151, 223)
HSLhsl(303, 58%, 74%)
HSVhsv(303, 33%, 89%)
CMYKcmyk(0%, 33.5%, 1.8%, 11%)
CIE-LABlab(72.09, 39.62, -24.98)
CIE-LCHlch(72.09, 46.84, 327.77°)
OKLaboklab(77.52% 0.1107 -0.0676)
OKLCHoklch(77.52% 0.13 328.6)
XYZxyz(56.0634, 43.7941, 75.2977)
Luminance0.4379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E397DF #97E39B
analogous
#C197E3 #E397DF #E397B9
triadic
#E397DF #DFE397 #97DFE3
tetradic
#E397DF #E3C197 #97E39B #97B9E3
square
#E397DF #E3C197 #97E39B #97B9E3
split-complementary
#E397DF #B9E397 #97E3C1
monochromatic
#C937C1 #D667D0 #E397DF #F0C7EE #F9E7F8

Accessibility & contrast

On white

2.15
#E397DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#E397DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E397DF
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E397DF#FFFFFF#000000##000000
##E397DF1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AAE2
Deuteranopia (green-blind)
#A6B4DC
Tritanopia (blue-blind)
#E89DB1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e397df;
/* rgb */ color: rgb(227, 151, 223);
/* oklch */ color: oklch(77.5% 0.130 328.6);
Tailwind
colors: {
  custom: {
    50: '#edb7e9',
    500: '#e397df',
    950: '#000000',
  },
}
SCSS
$custom: #e397df;
$custom-light: #edb7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e397df",
  "rgb": {
    "r": 227,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 303.158,
    "s": 57.576,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77519,
    "c": 0.1297,
    "h": 328.6
  },
  "luminance": 0.43792
}

Semantic roles & 50–950 ramp

primary
#E397DF
secondary
#DBF0DC
accent
#C52920
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #E397DF

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

Preview Lab → · Contrast checker → · Palette generator →

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