#E781EB#E781EB

#E781EB is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.1% C 0.181 H 325.8°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#E781EB
RGBrgb(231, 129, 235)
HSLhsl(298, 73%, 71%)
HSVhsv(298, 45%, 92%)
CMYKcmyk(1.7%, 45.1%, 0%, 7.8%)
CIE-LABlab(68.53, 54.33, -37.04)
CIE-LCHlch(68.53, 65.76, 325.71°)
OKLaboklab(75.1% 0.1495 -0.1016)
OKLCHoklch(75.1% 0.181 325.8)
XYZxyz(55.7994, 38.6903, 83.1100)
Luminance0.3869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E781EB #85EB81
analogous
#B281EB #E781EB #EB81BA
triadic
#E781EB #EBE781 #81EBE7
tetradic
#E781EB #EBB281 #85EB81 #81BAEB
square
#E781EB #EBB281 #85EB81 #81BAEB
split-complementary
#E781EB #BAEB81 #81EBB2
monochromatic
#CA21D1 #DD4CE3 #E781EB #F1B6F3 #FAE5FB

Accessibility & contrast

On white

2.40
#E781EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#E781EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E781EB
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E781EB#FFFFFF#000000##000000
##E781EB1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#93ACE8
Tritanopia (blue-blind)
#EC8DAB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e781eb;
/* rgb */ color: rgb(231, 129, 235);
/* oklch */ color: oklch(75.1% 0.181 325.8);
Tailwind
colors: {
  custom: {
    50: '#f1a8f1',
    500: '#e781eb',
    950: '#000000',
  },
}
SCSS
$custom: #e781eb;
$custom-light: #f1a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e781eb",
  "rgb": {
    "r": 231,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 297.736,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75097,
    "c": 0.18077,
    "h": 325.8
  },
  "luminance": 0.38688
}

Semantic roles & 50–950 ramp

primary
#E781EB
secondary
#D7F2D6
accent
#D51118
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E781EB

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

Preview Lab → · Contrast checker → · Palette generator →

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