#E786FE#E786FE

#E786FE is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.7% C 0.191 H 319.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#E786FE
RGBrgb(231, 134, 254)
HSLhsl(289, 98%, 76%)
HSVhsv(289, 47%, 100%)
CMYKcmyk(9.1%, 47.2%, 0%, 0.4%)
CIE-LABlab(70.31, 55.36, -44.66)
CIE-LCHlch(70.31, 71.13, 321.11°)
OKLaboklab(76.7% 0.1457 -0.1235)
OKLCHoklch(76.7% 0.191 319.7)
XYZxyz(59.3672, 41.1971, 98.5713)
Luminance0.4119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786FE #9DFE86
analogous
#AB86FE #E786FE #FE86D9
triadic
#E786FE #FEE786 #86FEE7
tetradic
#E786FE #FEAB86 #9DFE86 #86D9FE
square
#E786FE #FEAB86 #9DFE86 #86D9FE
split-complementary
#E786FE #D9FE86 #86FEAB
monochromatic
#CF0DFD #DB49FD #E786FE #F3C3FF #F9E1FF

Accessibility & contrast

On white

2.27
#E786FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#E786FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786FE
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786FE#FFFFFF#000000##000000
##E786FE1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#8FAFFB
Tritanopia (blue-blind)
#E896B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e786fe;
/* rgb */ color: rgb(231, 134, 254);
/* oklch */ color: oklch(76.7% 0.191 319.7);
Tailwind
colors: {
  custom: {
    50: '#f1acff',
    500: '#e786fe',
    950: '#000000',
  },
}
SCSS
$custom: #e786fe;
$custom-light: #f1acff;
$custom-dark: #000000;
JSON
{
  "hex": "#e786fe",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 288.5,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76696,
    "c": 0.19098,
    "h": 319.7
  },
  "luminance": 0.41195
}

Semantic roles & 50–950 ramp

primary
#E786FE
secondary
#DBF7D4
accent
#E6002C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E786FE

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

Preview Lab → · Contrast checker → · Palette generator →

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