#E786FC#E786FC

#E786FC is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.6% C 0.189 H 320.3°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#E786FC
RGBrgb(231, 134, 252)
HSLhsl(289, 95%, 76%)
HSVhsv(289, 47%, 99%)
CMYKcmyk(8.3%, 46.8%, 0%, 1.2%)
CIE-LABlab(70.22, 54.98, -43.71)
CIE-LCHlch(70.22, 70.24, 321.52°)
OKLaboklab(76.6% 0.1454 -0.1208)
OKLCHoklch(76.6% 0.189 320.3)
XYZxyz(59.0486, 41.0696, 96.8934)
Luminance0.4107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786FC #9BFC86
analogous
#AC86FC #E786FC #FC86D6
triadic
#E786FC #FCE786 #86FCE7
tetradic
#E786FC #FCAC86 #9BFC86 #86D6FC
square
#E786FC #FCAC86 #9BFC86 #86D6FC
split-complementary
#E786FC #D6FC86 #86FCAC
monochromatic
#CF0FF9 #DB4AFB #E786FC #F3C2FD #F9E1FE

Accessibility & contrast

On white

2.28
#E786FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#E786FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786FC
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786FC#FFFFFF#000000##000000
##E786FC1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#90AFF9
Tritanopia (blue-blind)
#E996B5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e786fc;
/* rgb */ color: rgb(231, 134, 252);
/* oklch */ color: oklch(76.6% 0.189 320.3);
Tailwind
colors: {
  custom: {
    50: '#f1acfe',
    500: '#e786fc',
    950: '#000000',
  },
}
SCSS
$custom: #e786fc;
$custom-light: #f1acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#e786fc",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 289.322,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76601,
    "c": 0.189,
    "h": 320.3
  },
  "luminance": 0.41067
}

Semantic roles & 50–950 ramp

primary
#E786FC
secondary
#DBF6D5
accent
#E60029
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E786FC

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

Preview Lab → · Contrast checker → · Palette generator →

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