#E781F8#E781F8

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

Color values

HEX#E781F8
RGBrgb(231, 129, 248)
HSLhsl(291, 89%, 74%)
HSVhsv(291, 48%, 97%)
CMYKcmyk(6.9%, 48%, 0%, 2.7%)
CIE-LABlab(69.09, 56.71, -43.30)
CIE-LCHlch(69.09, 71.35, 322.64°)
OKLaboklab(75.7% 0.1516 -0.1195)
OKLCHoklch(75.7% 0.193 321.7)
XYZxyz(57.7466, 39.4692, 93.3652)
Luminance0.3947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E781F8 #92F881
analogous
#AC81F8 #E781F8 #F881CE
triadic
#E781F8 #F8E781 #81F8E7
tetradic
#E781F8 #F8AC81 #92F881 #81CEF8
square
#E781F8 #F8AC81 #92F881 #81CEF8
split-complementary
#E781F8 #CEF881 #81F8AC
monochromatic
#D10DF1 #DC47F5 #E781F8 #F2BBFB #F9E2FD

Accessibility & contrast

On white

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

On black

8.89
#E781F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E781F8
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E781F8#FFFFFF#000000##000000
##E781F81.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#E990B1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e781f8;
/* rgb */ color: rgb(231, 129, 248);
/* oklch */ color: oklch(75.7% 0.193 321.7);
Tailwind
colors: {
  custom: {
    50: '#f1a9fb',
    500: '#e781f8',
    950: '#000000',
  },
}
SCSS
$custom: #e781f8;
$custom-light: #f1a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e781f8",
  "rgb": {
    "r": 231,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 291.429,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.757,
    "c": 0.19305,
    "h": 321.7
  },
  "luminance": 0.39467
}

Semantic roles & 50–950 ramp

primary
#E781F8
secondary
#DAF5D6
accent
#E60021
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E781F8

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

Preview Lab → · Contrast checker → · Palette generator →

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