#E797DB#E797DB

#E797DB is a light, vivid purple. Relative luminance 0.442; OKLCH L 77.8% C 0.129 H 332.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#E797DB
RGBrgb(231, 151, 219)
HSLhsl(309, 63%, 75%)
HSVhsv(309, 35%, 91%)
CMYKcmyk(0%, 34.6%, 5.2%, 9.4%)
CIE-LABlab(72.39, 40.19, -22.29)
CIE-LCHlch(72.39, 45.96, 330.98°)
OKLaboklab(77.79% 0.1141 -0.0601)
OKLCHoklch(77.79% 0.129 332.2)
XYZxyz(56.8071, 44.2392, 72.5508)
Luminance0.4424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797DB #97E7A3
analogous
#CB97E7 #E797DB #E797B3
triadic
#E797DB #DBE797 #97DBE7
tetradic
#E797DB #E7CB97 #97E7A3 #97B3E7
square
#E797DB #E7CB97 #97E7A3 #97B3E7
split-complementary
#E797DB #B3E797 #97E7CB
monochromatic
#D034B9 #DC65CA #E797DB #F2C9EC #F9E6F6

Accessibility & contrast

On white

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

On black

9.85
#E797DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E797DB
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E797DB#FFFFFF#000000##000000
##E797DB1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABDE
Deuteranopia (green-blind)
#A9B6D8
Tritanopia (blue-blind)
#EE9BB0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e797db;
/* rgb */ color: rgb(231, 151, 219);
/* oklch */ color: oklch(77.8% 0.129 332.2);
Tailwind
colors: {
  custom: {
    50: '#f0b7e6',
    500: '#e797db',
    950: '#000000',
  },
}
SCSS
$custom: #e797db;
$custom-light: #f0b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e797db",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 309,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77794,
    "c": 0.12892,
    "h": 332.2
  },
  "luminance": 0.44237
}

Semantic roles & 50–950 ramp

primary
#E797DB
secondary
#DAF1DE
accent
#CA361B
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E797DB

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

Preview Lab → · Contrast checker → · Palette generator →

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