#E786E7#E786E7

#E786E7 is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.6% C 0.169 H 327.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#E786E7
RGBrgb(231, 134, 231)
HSLhsl(300, 67%, 72%)
HSVhsv(300, 42%, 91%)
CMYKcmyk(0%, 42%, 0%, 9.4%)
CIE-LABlab(69.33, 51.10, -33.59)
CIE-LCHlch(69.33, 61.15, 326.69°)
OKLaboklab(75.65% 0.1417 -0.0918)
OKLCHoklch(75.65% 0.169 327.1)
XYZxyz(55.9028, 39.8113, 80.3255)
Luminance0.3981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786E7 #86E786
analogous
#B786E7 #E786E7 #E786B7
triadic
#E786E7 #E7E786 #86E7E7
tetradic
#E786E7 #E7B786 #86E786 #86B7E7
square
#E786E7 #E7B786 #86E786 #86B7E7
split-complementary
#E786E7 #B7E786 #86E7B7
monochromatic
#CA28CA #DD53DD #E786E7 #F1B9F1 #FAE5FA

Accessibility & contrast

On white

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

On black

8.96
#E786E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786E7
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786E7#FFFFFF#000000##000000
##E786E71.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA1EA
Deuteranopia (green-blind)
#99AEE4
Tritanopia (blue-blind)
#EC90AC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e786e7;
/* rgb */ color: rgb(231, 134, 231);
/* oklch */ color: oklch(75.6% 0.169 327.1);
Tailwind
colors: {
  custom: {
    50: '#f0acef',
    500: '#e786e7',
    950: '#000000',
  },
}
SCSS
$custom: #e786e7;
$custom-light: #f0acef;
$custom-dark: #000000;
JSON
{
  "hex": "#e786e7",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 231
  },
  "hsl": {
    "h": 300,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75646,
    "c": 0.16886,
    "h": 327.1
  },
  "luminance": 0.39809
}

Semantic roles & 50–950 ramp

primary
#E786E7
secondary
#D8F1D8
accent
#CF1717
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E786E7

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

Preview Lab → · Contrast checker → · Palette generator →

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