#E797EE#E797EE

#E797EE is a light, vivid purple. Relative luminance 0.453; OKLCH L 78.6% C 0.147 H 324.0°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#E797EE
RGBrgb(231, 151, 238)
HSLhsl(295, 72%, 76%)
HSVhsv(295, 37%, 93%)
CMYKcmyk(2.9%, 36.6%, 0%, 6.7%)
CIE-LABlab(73.09, 43.61, -31.62)
CIE-LCHlch(73.09, 53.87, 324.06°)
OKLaboklab(78.55% 0.1189 -0.0863)
OKLCHoklch(78.55% 0.147 324)
XYZxyz(59.4526, 45.2974, 86.4839)
Luminance0.4530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797EE #9EEE97
analogous
#BC97EE #E797EE #EE97CA
triadic
#E797EE #EEE797 #97EEE7
tetradic
#E797EE #EEBC97 #9EEE97 #97CAEE
square
#E797EE #EEBC97 #9EEE97 #97CAEE
split-complementary
#E797EE #CAEE97 #97EEBC
monochromatic
#CF2EDD #DB62E5 #E797EE #F3CCF7 #F9E5FB

Accessibility & contrast

On white

2.09
#E797EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#E797EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E797EE
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E797EE#FFFFFF#000000##000000
##E797EE1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EADF1
Deuteranopia (green-blind)
#A3B7EB
Tritanopia (blue-blind)
#EAA0B8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e797ee;
/* rgb */ color: rgb(231, 151, 238);
/* oklch */ color: oklch(78.6% 0.147 324.0);
Tailwind
colors: {
  custom: {
    50: '#f0b7f3',
    500: '#e797ee',
    950: '#000000',
  },
}
SCSS
$custom: #e797ee;
$custom-light: #f0b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#e797ee",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 295.172,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78553,
    "c": 0.14688,
    "h": 324
  },
  "luminance": 0.45295
}

Semantic roles & 50–950 ramp

primary
#E797EE
secondary
#DBF2D9
accent
#D41221
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #E797EE

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

Preview Lab → · Contrast checker → · Palette generator →

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