#E78BF8#E78BF8

#E78BF8 is a light, vivid purple. Relative luminance 0.422; OKLCH L 77.1% C 0.177 H 321.2°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#E78BF8
RGBrgb(231, 139, 248)
HSLhsl(291, 89%, 76%)
HSVhsv(291, 44%, 97%)
CMYKcmyk(6.9%, 44%, 0%, 2.7%)
CIE-LABlab(71.03, 51.70, -40.27)
CIE-LCHlch(71.03, 65.53, 322.09°)
OKLaboklab(77.14% 0.1379 -0.1109)
OKLCHoklch(77.14% 0.177 321.2)
XYZxyz(59.1289, 42.2337, 93.8260)
Luminance0.4223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E78BF8 #9CF88B
analogous
#B08BF8 #E78BF8 #F88BD2
triadic
#E78BF8 #F8E78B #8BF8E7
tetradic
#E78BF8 #F8B08B #9CF88B #8BD2F8
square
#E78BF8 #F8B08B #9CF88B #8BD2F8
split-complementary
#E78BF8 #D2F88B #8BF8B0
monochromatic
#CF18F1 #DB51F5 #E78BF8 #F3C5FB #F9E2FD

Accessibility & contrast

On white

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

On black

9.45
#E78BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E78BF8
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E78BF8#FFFFFF#000000##000000
##E78BF81.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FC
Deuteranopia (green-blind)
#95B1F5
Tritanopia (blue-blind)
#E998B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e78bf8;
/* rgb */ color: rgb(231, 139, 248);
/* oklch */ color: oklch(77.1% 0.177 321.2);
Tailwind
colors: {
  custom: {
    50: '#f0affb',
    500: '#e78bf8',
    950: '#000000',
  },
}
SCSS
$custom: #e78bf8;
$custom-light: #f0affb;
$custom-dark: #000000;
JSON
{
  "hex": "#e78bf8",
  "rgb": {
    "r": 231,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 290.642,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77144,
    "c": 0.17695,
    "h": 321.2
  },
  "luminance": 0.42231
}

Semantic roles & 50–950 ramp

primary
#E78BF8
secondary
#DBF5D6
accent
#E50024
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #E78BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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