#E797DD#E797DD

#E797DD is a light, vivid purple. Relative luminance 0.443; OKLCH L 77.9% C 0.131 H 331.3°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#E797DD
RGBrgb(231, 151, 221)
HSLhsl(308, 63%, 75%)
HSVhsv(308, 35%, 91%)
CMYKcmyk(0%, 34.6%, 4.3%, 9.4%)
CIE-LABlab(72.46, 40.54, -23.28)
CIE-LCHlch(72.46, 46.75, 330.13°)
OKLaboklab(77.87% 0.1146 -0.0628)
OKLCHoklch(77.87% 0.131 331.3)
XYZxyz(57.0720, 44.3451, 73.9458)
Luminance0.4434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797DD #97E7A1
analogous
#C997E7 #E797DD #E797B5
triadic
#E797DD #DDE797 #97DDE7
tetradic
#E797DD #E7C997 #97E7A1 #97B5E7
square
#E797DD #E7C997 #97E7A1 #97B5E7
split-complementary
#E797DD #B5E797 #97E7C9
monochromatic
#D034BC #DC65CD #E797DD #F2C9ED #F9E6F7

Accessibility & contrast

On white

2.13
#E797DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#E797DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E797DD
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E797DD#FFFFFF#000000##000000
##E797DD1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABE0
Deuteranopia (green-blind)
#A9B6DA
Tritanopia (blue-blind)
#ED9CB1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e797dd;
/* rgb */ color: rgb(231, 151, 221);
/* oklch */ color: oklch(77.9% 0.131 331.3);
Tailwind
colors: {
  custom: {
    50: '#f0b7e7',
    500: '#e797dd',
    950: '#000000',
  },
}
SCSS
$custom: #e797dd;
$custom-light: #f0b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e797dd",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 307.5,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77871,
    "c": 0.13071,
    "h": 331.3
  },
  "luminance": 0.44343
}

Semantic roles & 50–950 ramp

primary
#E797DD
secondary
#DAF1DD
accent
#CA311B
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E797DD

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

Preview Lab → · Contrast checker → · Palette generator →

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