#E786F9#E786F9

#E786F9 is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.5% C 0.186 H 321.2°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#E786F9
RGBrgb(231, 134, 249)
HSLhsl(291, 91%, 75%)
HSVhsv(291, 46%, 98%)
CMYKcmyk(7.2%, 46.2%, 0%, 2.4%)
CIE-LABlab(70.09, 54.41, -42.28)
CIE-LCHlch(70.09, 68.91, 322.15°)
OKLaboklab(76.46% 0.1449 -0.1166)
OKLCHoklch(76.46% 0.186 321.2)
XYZxyz(58.5770, 40.8810, 94.4094)
Luminance0.4088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786F9 #98F986
analogous
#AE86F9 #E786F9 #F986D1
triadic
#E786F9 #F9E786 #86F9E7
tetradic
#E786F9 #F9AE86 #98F986 #86D1F9
square
#E786F9 #F9AE86 #98F986 #86D1F9
split-complementary
#E786F9 #D1F986 #86F9AE
monochromatic
#D011F3 #DB4CF6 #E786F9 #F3C0FC #F9E2FE

Accessibility & contrast

On white

2.29
#E786F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#E786F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786F9
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786F9#FFFFFF#000000##000000
##E786F91.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FD
Deuteranopia (green-blind)
#91AFF6
Tritanopia (blue-blind)
#E995B4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e786f9;
/* rgb */ color: rgb(231, 134, 249);
/* oklch */ color: oklch(76.5% 0.186 321.2);
Tailwind
colors: {
  custom: {
    50: '#f1acfb',
    500: '#e786f9',
    950: '#000000',
  },
}
SCSS
$custom: #e786f9;
$custom-light: #f1acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#e786f9",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 249
  },
  "hsl": {
    "h": 290.609,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76459,
    "c": 0.18604,
    "h": 321.2
  },
  "luminance": 0.40879
}

Semantic roles & 50–950 ramp

primary
#E786F9
secondary
#DAF6D5
accent
#E60024
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E786F9

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

Preview Lab → · Contrast checker → · Palette generator →

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