#E781FB#E781FB

#E781FB is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.8% C 0.196 H 320.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#E781FB
RGBrgb(231, 129, 251)
HSLhsl(290, 94%, 75%)
HSVhsv(290, 49%, 98%)
CMYKcmyk(8%, 48.6%, 0%, 1.6%)
CIE-LABlab(69.22, 57.28, -44.73)
CIE-LCHlch(69.22, 72.67, 322.01°)
OKLaboklab(75.84% 0.152 -0.1237)
OKLCHoklch(75.84% 0.196 320.9)
XYZxyz(58.2158, 39.6568, 95.8361)
Luminance0.3965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E781FB #95FB81
analogous
#AA81FB #E781FB #FB81D2
triadic
#E781FB #FBE781 #81FBE7
tetradic
#E781FB #FBAA81 #95FB81 #81D2FB
square
#E781FB #FBAA81 #95FB81 #81D2FB
split-complementary
#E781FB #D2FB81 #81FBAA
monochromatic
#D00AF7 #DC46F9 #E781FB #F2BCFD #F9E1FE

Accessibility & contrast

On white

2.35
#E781FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#E781FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E781FB
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E781FB#FFFFFF#000000##000000
##E781FB1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#E991B3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e781fb;
/* rgb */ color: rgb(231, 129, 251);
/* oklch */ color: oklch(75.8% 0.196 320.9);
Tailwind
colors: {
  custom: {
    50: '#f1a9fd',
    500: '#e781fb',
    950: '#000000',
  },
}
SCSS
$custom: #e781fb;
$custom-light: #f1a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e781fb",
  "rgb": {
    "r": 231,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 290.164,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75844,
    "c": 0.19595,
    "h": 320.9
  },
  "luminance": 0.39654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E781FB

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

Preview Lab → · Contrast checker → · Palette generator →

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