#E786EB#E786EB

#E786EB is a light, vivid purple. Relative luminance 0.400; OKLCH L 75.8% C 0.173 H 325.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#E786EB
RGBrgb(231, 134, 235)
HSLhsl(298, 72%, 72%)
HSVhsv(298, 43%, 92%)
CMYKcmyk(1.7%, 43%, 0%, 7.8%)
CIE-LABlab(69.50, 51.82, -35.53)
CIE-LCHlch(69.50, 62.83, 325.56°)
OKLaboklab(75.82% 0.1425 -0.0973)
OKLCHoklch(75.82% 0.173 325.7)
XYZxyz(56.4742, 40.0399, 83.3349)
Luminance0.4004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786EB #8AEB86
analogous
#B586EB #E786EB #EB86BC
triadic
#E786EB #EBE786 #86EBE7
tetradic
#E786EB #EBB586 #8AEB86 #86BCEB
square
#E786EB #EBB586 #8AEB86 #86BCEB
split-complementary
#E786EB #BCEB86 #86EBB5
monochromatic
#CD23D4 #DD51E2 #E786EB #F1BBF4 #FAE5FB

Accessibility & contrast

On white

2.33
#E786EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#E786EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786EB
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786EB#FFFFFF#000000##000000
##E786EB1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EF
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#EC91AE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e786eb;
/* rgb */ color: rgb(231, 134, 235);
/* oklch */ color: oklch(75.8% 0.173 325.7);
Tailwind
colors: {
  custom: {
    50: '#f0acf1',
    500: '#e786eb',
    950: '#000000',
  },
}
SCSS
$custom: #e786eb;
$custom-light: #f0acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#e786eb",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 297.624,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75821,
    "c": 0.17258,
    "h": 325.7
  },
  "luminance": 0.40037
}

Semantic roles & 50–950 ramp

primary
#E786EB
secondary
#DAF2D9
accent
#D41219
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E786EB

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

Preview Lab → · Contrast checker → · Palette generator →

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