#E786F3#E786F3

#E786F3 is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.2% C 0.180 H 323.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#E786F3
RGBrgb(231, 134, 243)
HSLhsl(293, 82%, 74%)
HSVhsv(293, 45%, 95%)
CMYKcmyk(4.9%, 44.9%, 0%, 4.7%)
CIE-LABlab(69.83, 53.29, -39.40)
CIE-LCHlch(69.83, 66.27, 323.52°)
OKLaboklab(76.18% 0.144 -0.1084)
OKLCHoklch(76.18% 0.18 323)
XYZxyz(57.6561, 40.5126, 89.5593)
Luminance0.4051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786F3 #92F386
analogous
#B186F3 #E786F3 #F386C9
triadic
#E786F3 #F3E786 #86F3E7
tetradic
#E786F3 #F3B186 #92F386 #86C9F3
square
#E786F3 #F3B186 #92F386 #86C9F3
split-complementary
#E786F3 #C9F386 #86F3B1
monochromatic
#D117E8 #DC4EED #E786F3 #F2BEF9 #F9E3FC

Accessibility & contrast

On white

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

On black

9.10
#E786F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786F3
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786F3#FFFFFF#000000##000000
##E786F31.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F7
Deuteranopia (green-blind)
#94AFF0
Tritanopia (blue-blind)
#EA93B1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e786f3;
/* rgb */ color: rgb(231, 134, 243);
/* oklch */ color: oklch(76.2% 0.180 323.0);
Tailwind
colors: {
  custom: {
    50: '#f0acf7',
    500: '#e786f3',
    950: '#000000',
  },
}
SCSS
$custom: #e786f3;
$custom-light: #f0acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#e786f3",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 243
  },
  "hsl": {
    "h": 293.394,
    "s": 81.955,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76181,
    "c": 0.1802,
    "h": 323
  },
  "luminance": 0.4051
}

Semantic roles & 50–950 ramp

primary
#E786F3
secondary
#DAF4D7
accent
#DE071F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E786F3

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

Preview Lab → · Contrast checker → · Palette generator →

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