#E786F1#E786F1

#E786F1 is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.1% C 0.178 H 323.7°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#E786F1
RGBrgb(231, 134, 241)
HSLhsl(294, 79%, 74%)
HSVhsv(294, 44%, 95%)
CMYKcmyk(4.1%, 44.4%, 0%, 5.5%)
CIE-LABlab(69.75, 52.92, -38.44)
CIE-LCHlch(69.75, 65.41, 324.01°)
OKLaboklab(76.09% 0.1436 -0.1056)
OKLCHoklch(76.09% 0.178 323.7)
XYZxyz(57.3557, 40.3925, 87.9774)
Luminance0.4039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786F1 #90F186
analogous
#B186F1 #E786F1 #F186C5
triadic
#E786F1 #F1E786 #86F1E7
tetradic
#E786F1 #F1B186 #90F186 #86C5F1
square
#E786F1 #F1B186 #90F186 #86C5F1
split-complementary
#E786F1 #C5F186 #86F1B1
monochromatic
#D01AE2 #DC4FEB #E786F1 #F2BDF7 #FAE4FC

Accessibility & contrast

On white

2.31
#E786F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#E786F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786F1
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786F1#FFFFFF#000000##000000
##E786F11.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F5
Deuteranopia (green-blind)
#94AEEE
Tritanopia (blue-blind)
#EB92B0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e786f1;
/* rgb */ color: rgb(231, 134, 241);
/* oklch */ color: oklch(76.1% 0.178 323.7);
Tailwind
colors: {
  custom: {
    50: '#f0acf6',
    500: '#e786f1',
    950: '#000000',
  },
}
SCSS
$custom: #e786f1;
$custom-light: #f0acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#e786f1",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 241
  },
  "hsl": {
    "h": 294.393,
    "s": 79.259,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7609,
    "c": 0.17828,
    "h": 323.7
  },
  "luminance": 0.4039
}

Semantic roles & 50–950 ramp

primary
#E786F1
secondary
#DAF4D7
accent
#DC0A1E
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #E786F1

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

Preview Lab → · Contrast checker → · Palette generator →

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