#E786E9#E786E9

#E786E9 is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.7% C 0.171 H 326.4°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#E786E9
RGBrgb(231, 134, 233)
HSLhsl(299, 69%, 72%)
HSVhsv(299, 42%, 91%)
CMYKcmyk(0.9%, 42.5%, 0%, 8.6%)
CIE-LABlab(69.42, 51.46, -34.56)
CIE-LCHlch(69.42, 61.99, 326.11°)
OKLaboklab(75.73% 0.1422 -0.0945)
OKLCHoklch(75.73% 0.171 326.4)
XYZxyz(56.1869, 39.9250, 81.8217)
Luminance0.3992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786E9 #88E986
analogous
#B686E9 #E786E9 #E986BA
triadic
#E786E9 #E9E786 #86E9E7
tetradic
#E786E9 #E9B686 #88E986 #86BAE9
square
#E786E9 #E9B686 #88E986 #86BAE9
split-complementary
#E786E9 #BAE986 #86E9B6
monochromatic
#CC26CF #DD52E0 #E786E9 #F1BAF2 #FAE5FA

Accessibility & contrast

On white

2.34
#E786E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#E786E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786E9
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786E9#FFFFFF#000000##000000
##E786E91.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2EC
Deuteranopia (green-blind)
#98AEE6
Tritanopia (blue-blind)
#EC90AD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e786e9;
/* rgb */ color: rgb(231, 134, 233);
/* oklch */ color: oklch(75.7% 0.171 326.4);
Tailwind
colors: {
  custom: {
    50: '#f0acf0',
    500: '#e786e9',
    950: '#000000',
  },
}
SCSS
$custom: #e786e9;
$custom-light: #f0acf0;
$custom-dark: #000000;
JSON
{
  "hex": "#e786e9",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 233
  },
  "hsl": {
    "h": 298.788,
    "s": 69.231,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75733,
    "c": 0.17072,
    "h": 326.4
  },
  "luminance": 0.39922
}

Semantic roles & 50–950 ramp

primary
#E786E9
secondary
#D9F2D9
accent
#D11418
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E786E9

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

Preview Lab → · Contrast checker → · Palette generator →

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