#E781FC#E781FC

#E781FC is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.9% C 0.197 H 320.6°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#E781FC
RGBrgb(231, 129, 252)
HSLhsl(290, 95%, 75%)
HSVhsv(290, 49%, 99%)
CMYKcmyk(8.3%, 48.8%, 0%, 1.2%)
CIE-LABlab(69.27, 57.47, -45.21)
CIE-LCHlch(69.27, 73.12, 321.81°)
OKLaboklab(75.89% 0.1521 -0.125)
OKLCHoklch(75.89% 0.197 320.6)
XYZxyz(58.3738, 39.7201, 96.6685)
Luminance0.3972 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E781FC #96FC81
analogous
#AA81FC #E781FC #FC81D4
triadic
#E781FC #FCE781 #81FCE7
tetradic
#E781FC #FCAA81 #96FC81 #81D4FC
square
#E781FC #FCAA81 #96FC81 #81D4FC
split-complementary
#E781FC #D4FC81 #81FCAA
monochromatic
#D009F9 #DC45FB #E781FC #F2BDFD #F9E1FE

Accessibility & contrast

On white

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

On black

8.94
#E781FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E781FC
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E781FC#FFFFFF#000000##000000
##E781FC1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#8CADF9
Tritanopia (blue-blind)
#E992B3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e781fc;
/* rgb */ color: rgb(231, 129, 252);
/* oklch */ color: oklch(75.9% 0.197 320.6);
Tailwind
colors: {
  custom: {
    50: '#f1a9fe',
    500: '#e781fc',
    950: '#000000',
  },
}
SCSS
$custom: #e781fc;
$custom-light: #f1a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e781fc",
  "rgb": {
    "r": 231,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 289.756,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75892,
    "c": 0.19691,
    "h": 320.6
  },
  "luminance": 0.39718
}

Semantic roles & 50–950 ramp

primary
#E781FC
secondary
#DAF7D4
accent
#E60027
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E781FC

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

Preview Lab → · Contrast checker → · Palette generator →

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