#E797DA#E797DA

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

Color values

HEX#E797DA
RGBrgb(231, 151, 218)
HSLhsl(310, 63%, 75%)
HSVhsv(310, 35%, 91%)
CMYKcmyk(0%, 34.6%, 5.6%, 9.4%)
CIE-LABlab(72.35, 40.01, -21.80)
CIE-LCHlch(72.35, 45.57, 331.42°)
OKLaboklab(77.76% 0.1138 -0.0587)
OKLCHoklch(77.76% 0.128 332.7)
XYZxyz(56.6759, 44.1867, 71.8596)
Luminance0.4418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797DA #97E7A4
analogous
#CC97E7 #E797DA #E797B2
triadic
#E797DA #DAE797 #97DAE7
tetradic
#E797DA #E7CC97 #97E7A4 #97B2E7
square
#E797DA #E7CC97 #97E7A4 #97B2E7
split-complementary
#E797DA #B2E797 #97E7CC
monochromatic
#D034B7 #DC65C8 #E797DA #F2C9EC #F9E6F6

Accessibility & contrast

On white

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

On black

9.84
#E797DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E797DA
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E797DA#FFFFFF#000000##000000
##E797DA1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96AADD
Deuteranopia (green-blind)
#AAB6D8
Tritanopia (blue-blind)
#EE9BAF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e797da;
/* rgb */ color: rgb(231, 151, 218);
/* oklch */ color: oklch(77.8% 0.128 332.7);
Tailwind
colors: {
  custom: {
    50: '#f0b7e5',
    500: '#e797da',
    950: '#000000',
  },
}
SCSS
$custom: #e797da;
$custom-light: #f0b7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#e797da",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 218
  },
  "hsl": {
    "h": 309.75,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77756,
    "c": 0.12805,
    "h": 332.7
  },
  "luminance": 0.44184
}

Semantic roles & 50–950 ramp

primary
#E797DA
secondary
#DAF1DE
accent
#CA381B
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171115
muted
#858084

Preview Lab

Preview with #E797DA

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

Preview Lab → · Contrast checker → · Palette generator →

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