#E781EF#E781EF

#E781EF is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.3% C 0.184 H 324.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#E781EF
RGBrgb(231, 129, 239)
HSLhsl(296, 77%, 72%)
HSVhsv(296, 46%, 94%)
CMYKcmyk(3.3%, 46%, 0%, 6.3%)
CIE-LABlab(68.70, 55.05, -38.98)
CIE-LCHlch(68.70, 67.45, 324.70°)
OKLaboklab(75.28% 0.1502 -0.1071)
OKLCHoklch(75.28% 0.184 324.5)
XYZxyz(56.3838, 38.9241, 86.1877)
Luminance0.3892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E781EF #89EF81
analogous
#B081EF #E781EF #EF81C0
triadic
#E781EF #EFE781 #81EFE7
tetradic
#E781EF #EFB081 #89EF81 #81C0EF
square
#E781EF #EFB081 #89EF81 #81C0EF
split-complementary
#E781EF #C0EF81 #81EFB0
monochromatic
#CC1CDA #DD4BE8 #E781EF #F1B7F6 #FAE4FC

Accessibility & contrast

On white

2.39
#E781EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#E781EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E781EF
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E781EF#FFFFFF#000000##000000
##E781EF1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F3
Deuteranopia (green-blind)
#92ACEC
Tritanopia (blue-blind)
#EB8EAD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e781ef;
/* rgb */ color: rgb(231, 129, 239);
/* oklch */ color: oklch(75.3% 0.184 324.5);
Tailwind
colors: {
  custom: {
    50: '#f1a8f4',
    500: '#e781ef',
    950: '#000000',
  },
}
SCSS
$custom: #e781ef;
$custom-light: #f1a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e781ef",
  "rgb": {
    "r": 231,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 295.636,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75279,
    "c": 0.18449,
    "h": 324.5
  },
  "luminance": 0.38921
}

Semantic roles & 50–950 ramp

primary
#E781EF
secondary
#DAF3D8
accent
#DA0C1B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E781EF

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

Preview Lab → · Contrast checker → · Palette generator →

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