#E78BF9#E78BF9

#E78BF9 is a light, vivid purple. Relative luminance 0.423; OKLCH L 77.2% C 0.178 H 320.9°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#E78BF9
RGBrgb(231, 139, 249)
HSLhsl(290, 90%, 76%)
HSVhsv(290, 44%, 98%)
CMYKcmyk(7.2%, 44.2%, 0%, 2.4%)
CIE-LABlab(71.07, 51.89, -40.74)
CIE-LCHlch(71.07, 65.97, 321.86°)
OKLaboklab(77.19% 0.1381 -0.1123)
OKLCHoklch(77.19% 0.178 320.9)
XYZxyz(59.2845, 42.2959, 94.6452)
Luminance0.4229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E78BF9 #9DF98B
analogous
#B08BF9 #E78BF9 #F98BD4
triadic
#E78BF9 #F9E78B #8BF9E7
tetradic
#E78BF9 #F9B08B #9DF98B #8BD4F9
square
#E78BF9 #F9B08B #9DF98B #8BD4F9
split-complementary
#E78BF9 #D4F98B #8BF9B0
monochromatic
#CF17F3 #DB51F6 #E78BF9 #F3C5FC #F9E2FD

Accessibility & contrast

On white

2.22
#E78BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#E78BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E78BF9
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E78BF9#FFFFFF#000000##000000
##E78BF91.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FD
Deuteranopia (green-blind)
#95B1F6
Tritanopia (blue-blind)
#E999B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e78bf9;
/* rgb */ color: rgb(231, 139, 249);
/* oklch */ color: oklch(77.2% 0.178 320.9);
Tailwind
colors: {
  custom: {
    50: '#f0affb',
    500: '#e78bf9',
    950: '#000000',
  },
}
SCSS
$custom: #e78bf9;
$custom-light: #f0affb;
$custom-dark: #000000;
JSON
{
  "hex": "#e78bf9",
  "rgb": {
    "r": 231,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 290.182,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7719,
    "c": 0.17794,
    "h": 320.9
  },
  "luminance": 0.42294
}

Semantic roles & 50–950 ramp

primary
#E78BF9
secondary
#DBF6D5
accent
#E60026
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #E78BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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