#E781F9#E781F9

#E781F9 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.7% C 0.194 H 321.4°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#E781F9
RGBrgb(231, 129, 249)
HSLhsl(291, 91%, 74%)
HSVhsv(291, 48%, 98%)
CMYKcmyk(7.2%, 48.2%, 0%, 2.4%)
CIE-LABlab(69.13, 56.90, -43.78)
CIE-LCHlch(69.13, 71.79, 322.43°)
OKLaboklab(75.75% 0.1517 -0.1209)
OKLCHoklch(75.75% 0.194 321.4)
XYZxyz(57.9022, 39.5314, 94.1845)
Luminance0.3953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E781F9 #93F981
analogous
#AB81F9 #E781F9 #F981CF
triadic
#E781F9 #F9E781 #81F9E7
tetradic
#E781F9 #F9AB81 #93F981 #81CFF9
square
#E781F9 #F9AB81 #93F981 #81CFF9
split-complementary
#E781F9 #CFF981 #81F9AB
monochromatic
#D10CF3 #DC47F6 #E781F9 #F2BBFC #F9E2FE

Accessibility & contrast

On white

2.36
#E781F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#E781F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E781F9
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E781F9#FFFFFF#000000##000000
##E781F91.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FD
Deuteranopia (green-blind)
#8DADF6
Tritanopia (blue-blind)
#E991B2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e781f9;
/* rgb */ color: rgb(231, 129, 249);
/* oklch */ color: oklch(75.7% 0.194 321.4);
Tailwind
colors: {
  custom: {
    50: '#f1a9fb',
    500: '#e781f9',
    950: '#000000',
  },
}
SCSS
$custom: #e781f9;
$custom-light: #f1a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e781f9",
  "rgb": {
    "r": 231,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 291,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75748,
    "c": 0.19402,
    "h": 321.4
  },
  "luminance": 0.39529
}

Semantic roles & 50–950 ramp

primary
#E781F9
secondary
#DAF6D5
accent
#E60022
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E781F9

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

Preview Lab → · Contrast checker → · Palette generator →

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