#E78BFB#E78BFB

#E78BFB is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.3% C 0.180 H 320.3°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#E78BFB
RGBrgb(231, 139, 251)
HSLhsl(289, 93%, 76%)
HSVhsv(289, 45%, 98%)
CMYKcmyk(8%, 44.6%, 0%, 1.6%)
CIE-LABlab(71.16, 52.27, -41.70)
CIE-LCHlch(71.16, 66.86, 321.42°)
OKLaboklab(77.28% 0.1384 -0.115)
OKLCHoklch(77.28% 0.18 320.3)
XYZxyz(59.5981, 42.4214, 96.2968)
Luminance0.4242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E78BFB #9FFB8B
analogous
#AF8BFB #E78BFB #FB8BD7
triadic
#E78BFB #FBE78B #8BFBE7
tetradic
#E78BFB #FBAF8B #9FFB8B #8BD7FB
square
#E78BFB #FBAF8B #9FFB8B #8BD7FB
split-complementary
#E78BFB #D7FB8B #8BFBAF
monochromatic
#CF15F7 #DB50F9 #E78BFB #F3C6FD #F9E1FE

Accessibility & contrast

On white

2.21
#E78BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#E78BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E78BFB
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E78BFB#FFFFFF#000000##000000
##E78BFB1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#94B2F8
Tritanopia (blue-blind)
#E999B7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e78bfb;
/* rgb */ color: rgb(231, 139, 251);
/* oklch */ color: oklch(77.3% 0.180 320.3);
Tailwind
colors: {
  custom: {
    50: '#f0affd',
    500: '#e78bfb',
    950: '#000000',
  },
}
SCSS
$custom: #e78bfb;
$custom-light: #f0affd;
$custom-dark: #000000;
JSON
{
  "hex": "#e78bfb",
  "rgb": {
    "r": 231,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 289.286,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77283,
    "c": 0.17995,
    "h": 320.3
  },
  "luminance": 0.42419
}

Semantic roles & 50–950 ramp

primary
#E78BFB
secondary
#DBF6D5
accent
#E60029
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #E78BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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