#E797E2#E797E2

#E797E2 is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.1% C 0.135 H 329.0°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#E797E2
RGBrgb(231, 151, 226)
HSLhsl(304, 63%, 75%)
HSVhsv(304, 35%, 91%)
CMYKcmyk(0%, 34.6%, 2.2%, 9.4%)
CIE-LABlab(72.64, 41.42, -25.75)
CIE-LCHlch(72.64, 48.77, 328.13°)
OKLaboklab(78.07% 0.1159 -0.0698)
OKLCHoklch(78.07% 0.135 329)
XYZxyz(57.7481, 44.6156, 77.5066)
Luminance0.4461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797E2 #97E79C
analogous
#C497E7 #E797E2 #E797BA
triadic
#E797E2 #E2E797 #97E2E7
tetradic
#E797E2 #E7C497 #97E79C #97BAE7
square
#E797E2 #E7C497 #97E79C #97BAE7
split-complementary
#E797E2 #BAE797 #97E7C4
monochromatic
#D034C6 #DC65D4 #E797E2 #F2C9F0 #F9E6F8

Accessibility & contrast

On white

2.12
#E797E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#E797E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E797E2
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E797E2#FFFFFF#000000##000000
##E797E21.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ACE5
Deuteranopia (green-blind)
#A7B6DF
Tritanopia (blue-blind)
#ED9DB3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e797e2;
/* rgb */ color: rgb(231, 151, 226);
/* oklch */ color: oklch(78.1% 0.135 329.0);
Tailwind
colors: {
  custom: {
    50: '#f0b7eb',
    500: '#e797e2',
    950: '#000000',
  },
}
SCSS
$custom: #e797e2;
$custom-light: #f0b7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#e797e2",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 303.75,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.78066,
    "c": 0.1353,
    "h": 329
  },
  "luminance": 0.44613
}

Semantic roles & 50–950 ramp

primary
#E797E2
secondary
#DAF1DC
accent
#CA261B
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E797E2

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

Preview Lab → · Contrast checker → · Palette generator →

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