#E797EA#E797EA

#E797EA is a light, vivid purple. Relative luminance 0.451; OKLCH L 78.4% C 0.143 H 325.6°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#E797EA
RGBrgb(231, 151, 234)
HSLhsl(298, 66%, 75%)
HSVhsv(298, 35%, 92%)
CMYKcmyk(1.3%, 35.5%, 0%, 8.2%)
CIE-LABlab(72.93, 42.87, -29.67)
CIE-LCHlch(72.93, 52.14, 325.31°)
OKLaboklab(78.39% 0.1179 -0.0808)
OKLCHoklch(78.39% 0.143 325.6)
XYZxyz(58.8715, 45.0649, 83.4233)
Luminance0.4506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797EA #9AEA97
analogous
#BD97EA #E797EA #EA97C3
triadic
#E797EA #EAE797 #97EAE7
tetradic
#E797EA #EABD97 #9AEA97 #97C3EA
square
#E797EA #EABD97 #9AEA97 #97C3EA
split-complementary
#E797EA #C3EA97 #97EABD
monochromatic
#CF31D5 #DB64E0 #E797EA #F3CAF4 #F9E6FA

Accessibility & contrast

On white

2.10
#E797EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#E797EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E797EA
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E797EA#FFFFFF#000000##000000
##E797EA1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADED
Deuteranopia (green-blind)
#A4B7E7
Tritanopia (blue-blind)
#EB9FB6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e797ea;
/* rgb */ color: rgb(231, 151, 234);
/* oklch */ color: oklch(78.4% 0.143 325.6);
Tailwind
colors: {
  custom: {
    50: '#f0b7f1',
    500: '#e797ea',
    950: '#000000',
  },
}
SCSS
$custom: #e797ea;
$custom-light: #f0b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e797ea",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 297.831,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78388,
    "c": 0.14295,
    "h": 325.6
  },
  "luminance": 0.45063
}

Semantic roles & 50–950 ramp

primary
#E797EA
secondary
#DBF1DA
accent
#CE171E
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E797EA

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

Preview Lab → · Contrast checker → · Palette generator →

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