#E791DF#E791DF

#E791DF is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.0% C 0.143 H 330.2°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#E791DF
RGBrgb(231, 145, 223)
HSLhsl(306, 64%, 74%)
HSVhsv(306, 37%, 91%)
CMYKcmyk(0%, 37.2%, 3.5%, 9.4%)
CIE-LABlab(71.26, 44.03, -26.21)
CIE-LCHlch(71.26, 51.24, 329.23°)
OKLaboklab(76.99% 0.124 -0.071)
OKLCHoklch(76.99% 0.143 330.2)
XYZxyz(56.3989, 42.5701, 75.0438)
Luminance0.4257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E791DF #91E799
analogous
#C491E7 #E791DF #E791B4
triadic
#E791DF #DFE791 #91DFE7
tetradic
#E791DF #E7C491 #91E799 #91B4E7
square
#E791DF #E7C491 #91E799 #91B4E7
split-complementary
#E791DF #B4E791 #91E7C4
monochromatic
#D02DC1 #DC5FD0 #E791DF #F2C3EE #FAE6F8

Accessibility & contrast

On white

2.21
#E791DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#E791DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E791DF
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E791DF#FFFFFF#000000##000000
##E791DF1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E2
Deuteranopia (green-blind)
#A4B3DC
Tritanopia (blue-blind)
#ED97AE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e791df;
/* rgb */ color: rgb(231, 145, 223);
/* oklch */ color: oklch(77.0% 0.143 330.2);
Tailwind
colors: {
  custom: {
    50: '#f0b3e9',
    500: '#e791df',
    950: '#000000',
  },
}
SCSS
$custom: #e791df;
$custom-light: #f0b3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e791df",
  "rgb": {
    "r": 231,
    "g": 145,
    "b": 223
  },
  "hsl": {
    "h": 305.581,
    "s": 64.179,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76991,
    "c": 0.14291,
    "h": 330.2
  },
  "luminance": 0.42567
}

Semantic roles & 50–950 ramp

primary
#E791DF
secondary
#DAF1DC
accent
#CC2A1A
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E791DF

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

Preview Lab → · Contrast checker → · Palette generator →

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