#E791EA#E791EA

#E791EA is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.4% C 0.153 H 325.7°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#E791EA
RGBrgb(231, 145, 234)
HSLhsl(298, 68%, 74%)
HSVhsv(298, 38%, 92%)
CMYKcmyk(1.3%, 38%, 0%, 8.2%)
CIE-LABlab(71.68, 46.00, -31.61)
CIE-LCHlch(71.68, 55.82, 325.51°)
OKLaboklab(77.44% 0.1266 -0.0862)
OKLCHoklch(77.44% 0.153 325.7)
XYZxyz(57.9304, 43.1827, 83.1096)
Luminance0.4318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E791EA #94EA91
analogous
#BB91EA #E791EA #EA91C0
triadic
#E791EA #EAE791 #91EAE7
tetradic
#E791EA #EABB91 #94EA91 #91C0EA
square
#E791EA #EABB91 #94EA91 #91C0EA
split-complementary
#E791EA #C0EA91 #91EABB
monochromatic
#D12AD6 #DC5EE0 #E791EA #F2C4F4 #F9E5FA

Accessibility & contrast

On white

2.18
#E791EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#E791EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E791EA
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E791EA#FFFFFF#000000##000000
##E791EA1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9ED
Deuteranopia (green-blind)
#A0B3E7
Tritanopia (blue-blind)
#EB9AB3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #e791ea;
/* rgb */ color: rgb(231, 145, 234);
/* oklch */ color: oklch(77.4% 0.153 325.7);
Tailwind
colors: {
  custom: {
    50: '#f0b3f1',
    500: '#e791ea',
    950: '#000000',
  },
}
SCSS
$custom: #e791ea;
$custom-light: #f0b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e791ea",
  "rgb": {
    "r": 231,
    "g": 145,
    "b": 234
  },
  "hsl": {
    "h": 297.978,
    "s": 67.939,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77442,
    "c": 0.1532,
    "h": 325.7
  },
  "luminance": 0.4318
}

Semantic roles & 50–950 ramp

primary
#E791EA
secondary
#DAF2D9
accent
#D0161C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E791EA

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

Preview Lab → · Contrast checker → · Palette generator →

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