#E786FF#E786FF

#E786FF is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.7% C 0.192 H 319.4°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#E786FF
RGBrgb(231, 134, 255)
HSLhsl(288, 100%, 76%)
HSVhsv(288, 47%, 100%)
CMYKcmyk(9.4%, 47.5%, 0%, 0%)
CIE-LABlab(70.36, 55.55, -45.13)
CIE-LCHlch(70.36, 71.58, 320.91°)
OKLaboklab(76.74% 0.1458 -0.1249)
OKLCHoklch(76.74% 0.192 319.4)
XYZxyz(59.5278, 41.2613, 99.4169)
Luminance0.4126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786FF #9EFF86
analogous
#AB86FF #E786FF #FF86DB
triadic
#E786FF #FFE786 #86FFE7
tetradic
#E786FF #FFAB86 #9EFF86 #86DBFF
square
#E786FF #FFAB86 #9EFF86 #86DBFF
split-complementary
#E786FF #DBFF86 #86FFAB
monochromatic
#CF0CFF #DB49FF #E786FF #F3C3FF #F9E0FF

Accessibility & contrast

On white

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

On black

9.25
#E786FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786FF
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786FF#FFFFFF#000000##000000
##E786FF1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e786ff;
/* rgb */ color: rgb(231, 134, 255);
/* oklch */ color: oklch(76.7% 0.192 319.4);
Tailwind
colors: {
  custom: {
    50: '#f1acff',
    500: '#e786ff',
    950: '#000000',
  },
}
SCSS
$custom: #e786ff;
$custom-light: #f1acff;
$custom-dark: #000000;
JSON
{
  "hex": "#e786ff",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 288.099,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76744,
    "c": 0.19198,
    "h": 319.4
  },
  "luminance": 0.41259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E786FF

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

Preview Lab → · Contrast checker → · Palette generator →

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