#E786F2#E786F2

#E786F2 is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.1% C 0.179 H 323.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#E786F2
RGBrgb(231, 134, 242)
HSLhsl(294, 81%, 74%)
HSVhsv(294, 45%, 95%)
CMYKcmyk(4.5%, 44.6%, 0%, 5.1%)
CIE-LABlab(69.79, 53.10, -38.92)
CIE-LCHlch(69.79, 65.84, 323.76°)
OKLaboklab(76.13% 0.1438 -0.107)
OKLCHoklch(76.13% 0.179 323.3)
XYZxyz(57.5055, 40.4524, 88.7662)
Luminance0.4045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786F2 #91F286
analogous
#B186F2 #E786F2 #F286C7
triadic
#E786F2 #F2E786 #86F2E7
tetradic
#E786F2 #F2B186 #91F286 #86C7F2
square
#E786F2 #F2B186 #91F286 #86C7F2
split-complementary
#E786F2 #C7F286 #86F2B1
monochromatic
#D019E5 #DC4FEC #E786F2 #F2BDF8 #FAE3FC

Accessibility & contrast

On white

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

On black

9.09
#E786F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786F2
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786F2#FFFFFF#000000##000000
##E786F21.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F6
Deuteranopia (green-blind)
#94AFEF
Tritanopia (blue-blind)
#EA93B1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e786f2;
/* rgb */ color: rgb(231, 134, 242);
/* oklch */ color: oklch(76.1% 0.179 323.3);
Tailwind
colors: {
  custom: {
    50: '#f0acf6',
    500: '#e786f2',
    950: '#000000',
  },
}
SCSS
$custom: #e786f2;
$custom-light: #f0acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#e786f2",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 293.889,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76135,
    "c": 0.17924,
    "h": 323.3
  },
  "luminance": 0.4045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E786F2

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

Preview Lab → · Contrast checker → · Palette generator →

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