#E791FA#E791FA

#E791FA is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.1% C 0.169 H 320.2°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#E791FA
RGBrgb(231, 145, 250)
HSLhsl(289, 91%, 77%)
HSVhsv(289, 42%, 98%)
CMYKcmyk(7.6%, 42%, 0%, 2%)
CIE-LABlab(72.32, 49.00, -39.34)
CIE-LCHlch(72.32, 62.84, 321.24°)
OKLaboklab(78.14% 0.1299 -0.1083)
OKLCHoklch(78.14% 0.169 320.2)
XYZxyz(60.3336, 44.1439, 95.7664)
Luminance0.4414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E791FA #A4FA91
analogous
#B391FA #E791FA #FA91D8
triadic
#E791FA #FAE791 #91FAE7
tetradic
#E791FA #FAB391 #A4FA91 #91D8FA
square
#E791FA #FAB391 #A4FA91 #91D8FA
split-complementary
#E791FA #D8FA91 #91FAB3
monochromatic
#CD1CF5 #DA56F7 #E791FA #F4CCFD #F9E2FE

Accessibility & contrast

On white

2.14
#E791FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#E791FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E791FA
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E791FA#FFFFFF#000000##000000
##E791FA1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFE
Deuteranopia (green-blind)
#99B5F7
Tritanopia (blue-blind)
#E89EBA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e791fa;
/* rgb */ color: rgb(231, 145, 250);
/* oklch */ color: oklch(78.1% 0.169 320.2);
Tailwind
colors: {
  custom: {
    50: '#f0b3fc',
    500: '#e791fa',
    950: '#000000',
  },
}
SCSS
$custom: #e791fa;
$custom-light: #f0b3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e791fa",
  "rgb": {
    "r": 231,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 289.143,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.78138,
    "c": 0.1691,
    "h": 320.2
  },
  "luminance": 0.44142
}

Semantic roles & 50–950 ramp

primary
#E791FA
secondary
#DBF6D5
accent
#E6002A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E791FA

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

Preview Lab → · Contrast checker → · Palette generator →

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