#E781F7#E781F7

#E781F7 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.7% C 0.192 H 322.0°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#E781F7
RGBrgb(231, 129, 247)
HSLhsl(292, 88%, 74%)
HSVhsv(292, 48%, 97%)
CMYKcmyk(6.5%, 47.8%, 0%, 3.1%)
CIE-LABlab(69.05, 56.53, -42.82)
CIE-LCHlch(69.05, 70.92, 322.85°)
OKLaboklab(75.65% 0.1514 -0.1182)
OKLCHoklch(75.65% 0.192 322)
XYZxyz(57.5919, 39.4073, 92.5504)
Luminance0.3941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E781F7 #91F781
analogous
#AC81F7 #E781F7 #F781CC
triadic
#E781F7 #F7E781 #81F7E7
tetradic
#E781F7 #F7AC81 #91F781 #81CCF7
square
#E781F7 #F7AC81 #91F781 #81CCF7
split-complementary
#E781F7 #CCF781 #81F7AC
monochromatic
#D00FEE #DC47F3 #E781F7 #F2BBFB #FAE2FD

Accessibility & contrast

On white

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

On black

8.88
#E781F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E781F7
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E781F7#FFFFFF#000000##000000
##E781F71.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FB
Deuteranopia (green-blind)
#8EADF4
Tritanopia (blue-blind)
#EA90B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e781f7;
/* rgb */ color: rgb(231, 129, 247);
/* oklch */ color: oklch(75.7% 0.192 322.0);
Tailwind
colors: {
  custom: {
    50: '#f1a9fa',
    500: '#e781f7',
    950: '#000000',
  },
}
SCSS
$custom: #e781f7;
$custom-light: #f1a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e781f7",
  "rgb": {
    "r": 231,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 291.864,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75653,
    "c": 0.1921,
    "h": 322
  },
  "luminance": 0.39405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E781F7

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

Preview Lab → · Contrast checker → · Palette generator →

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