#E797DE#E797DE

#E797DE is a light, vivid purple. Relative luminance 0.444; OKLCH L 77.9% C 0.132 H 330.8°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#E797DE
RGBrgb(231, 151, 222)
HSLhsl(307, 63%, 75%)
HSVhsv(307, 35%, 91%)
CMYKcmyk(0%, 34.6%, 3.9%, 9.4%)
CIE-LABlab(72.49, 40.71, -23.78)
CIE-LCHlch(72.49, 47.15, 329.71°)
OKLaboklab(77.91% 0.1149 -0.0642)
OKLCHoklch(77.91% 0.132 330.8)
XYZxyz(57.2056, 44.3986, 74.6496)
Luminance0.4440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797DE #97E7A0
analogous
#C897E7 #E797DE #E797B6
triadic
#E797DE #DEE797 #97DEE7
tetradic
#E797DE #E7C897 #97E7A0 #97B6E7
square
#E797DE #E7C897 #97E7A0 #97B6E7
split-complementary
#E797DE #B6E797 #97E7C8
monochromatic
#D034BE #DC65CE #E797DE #F2C9EE #F9E6F7

Accessibility & contrast

On white

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

On black

9.88
#E797DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E797DE
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E797DE#FFFFFF#000000##000000
##E797DE1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ABE1
Deuteranopia (green-blind)
#A8B6DB
Tritanopia (blue-blind)
#ED9CB1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e797de;
/* rgb */ color: rgb(231, 151, 222);
/* oklch */ color: oklch(77.9% 0.132 330.8);
Tailwind
colors: {
  custom: {
    50: '#f0b7e8',
    500: '#e797de',
    950: '#000000',
  },
}
SCSS
$custom: #e797de;
$custom-light: #f0b7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#e797de",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 222
  },
  "hsl": {
    "h": 306.75,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7791,
    "c": 0.13162,
    "h": 330.8
  },
  "luminance": 0.44396
}

Semantic roles & 50–950 ramp

primary
#E797DE
secondary
#DAF1DD
accent
#CA2F1B
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E797DE

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

Preview Lab → · Contrast checker → · Palette generator →

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