#E781FD#E781FD

#E781FD is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.9% C 0.198 H 320.3°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#E781FD
RGBrgb(231, 129, 253)
HSLhsl(289, 97%, 75%)
HSVhsv(289, 49%, 99%)
CMYKcmyk(8.7%, 49%, 0%, 0.8%)
CIE-LABlab(69.32, 57.66, -45.68)
CIE-LCHlch(69.32, 73.56, 321.61°)
OKLaboklab(75.94% 0.1523 -0.1264)
OKLCHoklch(75.94% 0.198 320.3)
XYZxyz(58.5327, 39.7836, 97.5052)
Luminance0.3978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E781FD #97FD81
analogous
#A981FD #E781FD #FD81D5
triadic
#E781FD #FDE781 #81FDE7
tetradic
#E781FD #FDA981 #97FD81 #81D5FD
square
#E781FD #FDA981 #97FD81 #81D5FD
split-complementary
#E781FD #D5FD81 #81FDA9
monochromatic
#D009FB #DC45FC #E781FD #F2BDFE #F9E1FF

Accessibility & contrast

On white

2.34
#E781FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#E781FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E781FD
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E781FD#FFFFFF#000000##000000
##E781FD1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e781fd;
/* rgb */ color: rgb(231, 129, 253);
/* oklch */ color: oklch(75.9% 0.198 320.3);
Tailwind
colors: {
  custom: {
    50: '#f1a9fe',
    500: '#e781fd',
    950: '#000000',
  },
}
SCSS
$custom: #e781fd;
$custom-light: #f1a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e781fd",
  "rgb": {
    "r": 231,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 289.355,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75941,
    "c": 0.19789,
    "h": 320.3
  },
  "luminance": 0.39781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E781FD

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

Preview Lab → · Contrast checker → · Palette generator →

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