#E786EA#E786EA

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

Color values

HEX#E786EA
RGBrgb(231, 134, 234)
HSLhsl(298, 70%, 72%)
HSVhsv(298, 43%, 92%)
CMYKcmyk(1.3%, 42.7%, 0%, 8.2%)
CIE-LABlab(69.46, 51.64, -35.05)
CIE-LCHlch(69.46, 62.41, 325.84°)
OKLaboklab(75.78% 0.1423 -0.0959)
OKLCHoklch(75.78% 0.172 326)
XYZxyz(56.3302, 39.9823, 82.5762)
Luminance0.3998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786EA #89EA86
analogous
#B586EA #E786EA #EA86BB
triadic
#E786EA #EAE786 #86EAE7
tetradic
#E786EA #EAB586 #89EA86 #86BBEA
square
#E786EA #EAB586 #89EA86 #86BBEA
split-complementary
#E786EA #BBEA86 #86EAB5
monochromatic
#CC24D1 #DD52E1 #E786EA #F1BAF3 #FAE5FA

Accessibility & contrast

On white

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

On black

9.00
#E786EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786EA
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786EA#FFFFFF#000000##000000
##E786EA1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2EE
Deuteranopia (green-blind)
#97AEE7
Tritanopia (blue-blind)
#EC90AD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e786ea;
/* rgb */ color: rgb(231, 134, 234);
/* oklch */ color: oklch(75.8% 0.172 326.0);
Tailwind
colors: {
  custom: {
    50: '#f0acf1',
    500: '#e786ea',
    950: '#000000',
  },
}
SCSS
$custom: #e786ea;
$custom-light: #f0acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#e786ea",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 298.2,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75777,
    "c": 0.17165,
    "h": 326
  },
  "luminance": 0.3998
}

Semantic roles & 50–950 ramp

primary
#E786EA
secondary
#DAF2D9
accent
#D21319
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E786EA

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

Preview Lab → · Contrast checker → · Palette generator →

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