#E786E8#E786E8

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

Color values

HEX#E786E8
RGBrgb(231, 134, 232)
HSLhsl(299, 68%, 72%)
HSVhsv(299, 42%, 91%)
CMYKcmyk(0.4%, 42.2%, 0%, 9%)
CIE-LABlab(69.38, 51.28, -34.07)
CIE-LCHlch(69.38, 61.57, 326.40°)
OKLaboklab(75.69% 0.142 -0.0931)
OKLCHoklch(75.69% 0.17 326.7)
XYZxyz(56.0445, 39.8680, 81.0715)
Luminance0.3987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786E8 #87E886
analogous
#B686E8 #E786E8 #E886B8
triadic
#E786E8 #E8E786 #86E8E7
tetradic
#E786E8 #E8B686 #87E886 #86B8E8
square
#E786E8 #E8B686 #87E886 #86B8E8
split-complementary
#E786E8 #B8E886 #86E8B6
monochromatic
#CB27CD #DD53DE #E786E8 #F1B9F2 #FAE5FA

Accessibility & contrast

On white

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

On black

8.97
#E786E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786E8
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786E8#FFFFFF#000000##000000
##E786E81.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA2EB
Deuteranopia (green-blind)
#98AEE5
Tritanopia (blue-blind)
#EC90AC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e786e8;
/* rgb */ color: rgb(231, 134, 232);
/* oklch */ color: oklch(75.7% 0.170 326.7);
Tailwind
colors: {
  custom: {
    50: '#f0acef',
    500: '#e786e8',
    950: '#000000',
  },
}
SCSS
$custom: #e786e8;
$custom-light: #f0acef;
$custom-dark: #000000;
JSON
{
  "hex": "#e786e8",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 232
  },
  "hsl": {
    "h": 299.388,
    "s": 68.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7569,
    "c": 0.16978,
    "h": 326.7
  },
  "luminance": 0.39865
}

Semantic roles & 50–950 ramp

primary
#E786E8
secondary
#D9F1D8
accent
#D01617
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E786E8

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

Preview Lab → · Contrast checker → · Palette generator →

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