#E786F5#E786F5

#E786F5 is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.3% C 0.182 H 322.4°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#E786F5
RGBrgb(231, 134, 245)
HSLhsl(292, 85%, 74%)
HSVhsv(292, 45%, 96%)
CMYKcmyk(5.7%, 45.3%, 0%, 3.9%)
CIE-LABlab(69.92, 53.66, -40.36)
CIE-LCHlch(69.92, 67.15, 323.05°)
OKLaboklab(76.27% 0.1443 -0.1111)
OKLCHoklch(76.27% 0.182 322.4)
XYZxyz(57.9598, 40.6341, 91.1586)
Luminance0.4063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786F5 #94F586
analogous
#B086F5 #E786F5 #F586CC
triadic
#E786F5 #F5E786 #86F5E7
tetradic
#E786F5 #F5B086 #94F586 #86CCF5
square
#E786F5 #F5B086 #94F586 #86CCF5
split-complementary
#E786F5 #CCF586 #86F5B0
monochromatic
#D115EC #DC4DF0 #E786F5 #F2BFFA #F9E3FD

Accessibility & contrast

On white

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

On black

9.13
#E786F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786F5
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786F5#FFFFFF#000000##000000
##E786F51.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A4F9
Deuteranopia (green-blind)
#93AFF2
Tritanopia (blue-blind)
#EA94B2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e786f5;
/* rgb */ color: rgb(231, 134, 245);
/* oklch */ color: oklch(76.3% 0.182 322.4);
Tailwind
colors: {
  custom: {
    50: '#f0acf9',
    500: '#e786f5',
    950: '#000000',
  },
}
SCSS
$custom: #e786f5;
$custom-light: #f0acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#e786f5",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 245
  },
  "hsl": {
    "h": 292.432,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76273,
    "c": 0.18214,
    "h": 322.4
  },
  "luminance": 0.40632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E786F5

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

Preview Lab → · Contrast checker → · Palette generator →

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