#E786EF#E786EF

#E786EF is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.0% C 0.176 H 324.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#E786EF
RGBrgb(231, 134, 239)
HSLhsl(295, 77%, 73%)
HSVhsv(295, 44%, 94%)
CMYKcmyk(3.3%, 43.9%, 0%, 6.3%)
CIE-LABlab(69.66, 52.55, -37.47)
CIE-LCHlch(69.66, 64.54, 324.51°)
OKLaboklab(76% 0.1433 -0.1028)
OKLCHoklch(76% 0.176 324.3)
XYZxyz(57.0586, 40.2736, 86.4127)
Luminance0.4027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786EF #8EEF86
analogous
#B386EF #E786EF #EF86C2
triadic
#E786EF #EFE786 #86EFE7
tetradic
#E786EF #EFB386 #8EEF86 #86C2EF
square
#E786EF #EFB386 #8EEF86 #86C2EF
split-complementary
#E786EF #C2EF86 #86EFB3
monochromatic
#CF1DDD #DC50E8 #E786EF #F2BCF6 #FAE4FB

Accessibility & contrast

On white

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

On black

9.05
#E786EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786EF
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786EF#FFFFFF#000000##000000
##E786EF1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA3F3
Deuteranopia (green-blind)
#95AEEC
Tritanopia (blue-blind)
#EB92AF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e786ef;
/* rgb */ color: rgb(231, 134, 239);
/* oklch */ color: oklch(76.0% 0.176 324.3);
Tailwind
colors: {
  custom: {
    50: '#f0acf4',
    500: '#e786ef',
    950: '#000000',
  },
}
SCSS
$custom: #e786ef;
$custom-light: #f0acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#e786ef",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 295.429,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76,
    "c": 0.17636,
    "h": 324.3
  },
  "luminance": 0.40271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E786EF

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

Preview Lab → · Contrast checker → · Palette generator →

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