#E786F6#E786F6

#E786F6 is a light, vivid purple. Relative luminance 0.407; OKLCH L 76.3% C 0.183 H 322.1°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#E786F6
RGBrgb(231, 134, 246)
HSLhsl(292, 86%, 75%)
HSVhsv(292, 46%, 96%)
CMYKcmyk(6.1%, 45.5%, 0%, 3.5%)
CIE-LABlab(69.96, 53.85, -40.84)
CIE-LCHlch(69.96, 67.58, 322.82°)
OKLaboklab(76.32% 0.1445 -0.1125)
OKLCHoklch(76.32% 0.183 322.1)
XYZxyz(58.1128, 40.6953, 91.9648)
Luminance0.4069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786F6 #95F686
analogous
#AF86F6 #E786F6 #F686CD
triadic
#E786F6 #F6E786 #86F6E7
tetradic
#E786F6 #F6AF86 #95F686 #86CDF6
square
#E786F6 #F6AF86 #95F686 #86CDF6
split-complementary
#E786F6 #CDF686 #86F6AF
monochromatic
#D014EE #DC4DF2 #E786F6 #F2BFFA #F9E3FD

Accessibility & contrast

On white

2.30
#E786F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#E786F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786F6
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786F6#FFFFFF#000000##000000
##E786F61.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A4FA
Deuteranopia (green-blind)
#92AFF3
Tritanopia (blue-blind)
#EA94B3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e786f6;
/* rgb */ color: rgb(231, 134, 246);
/* oklch */ color: oklch(76.3% 0.183 322.1);
Tailwind
colors: {
  custom: {
    50: '#f0acf9',
    500: '#e786f6',
    950: '#000000',
  },
}
SCSS
$custom: #e786f6;
$custom-light: #f0acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#e786f6",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 246
  },
  "hsl": {
    "h": 291.964,
    "s": 86.154,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76319,
    "c": 0.18311,
    "h": 322.1
  },
  "luminance": 0.40693
}

Semantic roles & 50–950 ramp

primary
#E786F6
secondary
#DAF5D6
accent
#E30321
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E786F6

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

Preview Lab → · Contrast checker → · Palette generator →

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