#E786EE#E786EE

#E786EE is a light, vivid purple. Relative luminance 0.402; OKLCH L 76.0% C 0.175 H 324.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#E786EE
RGBrgb(231, 134, 238)
HSLhsl(296, 75%, 73%)
HSVhsv(296, 44%, 93%)
CMYKcmyk(2.9%, 43.7%, 0%, 6.7%)
CIE-LABlab(69.62, 52.37, -36.99)
CIE-LCHlch(69.62, 64.11, 324.76°)
OKLaboklab(75.96% 0.1431 -0.1015)
OKLCHoklch(75.96% 0.175 324.7)
XYZxyz(56.9113, 40.2147, 85.6368)
Luminance0.4021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786EE #8DEE86
analogous
#B386EE #E786EE #EE86C1
triadic
#E786EE #EEE786 #86EEE7
tetradic
#E786EE #EEB386 #8DEE86 #86C1EE
square
#E786EE #EEB386 #8DEE86 #86C1EE
split-complementary
#E786EE #C1EE86 #86EEB3
monochromatic
#CE1FDB #DC50E6 #E786EE #F2BCF6 #FAE4FB

Accessibility & contrast

On white

2.32
#E786EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#E786EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786EE
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786EE#FFFFFF#000000##000000
##E786EE1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA3F2
Deuteranopia (green-blind)
#96AEEB
Tritanopia (blue-blind)
#EB92AF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e786ee;
/* rgb */ color: rgb(231, 134, 238);
/* oklch */ color: oklch(76.0% 0.175 324.7);
Tailwind
colors: {
  custom: {
    50: '#f0acf4',
    500: '#e786ee',
    950: '#000000',
  },
}
SCSS
$custom: #e786ee;
$custom-light: #f0acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#e786ee",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 295.962,
    "s": 75.362,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75955,
    "c": 0.17542,
    "h": 324.7
  },
  "luminance": 0.40212
}

Semantic roles & 50–950 ramp

primary
#E786EE
secondary
#DAF3D8
accent
#D80E1C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E786EE

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

Preview Lab → · Contrast checker → · Palette generator →

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