#E786FB#E786FB

#E786FB is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.6% C 0.188 H 320.6°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#E786FB
RGBrgb(231, 134, 251)
HSLhsl(290, 94%, 75%)
HSVhsv(290, 47%, 98%)
CMYKcmyk(8%, 46.6%, 0%, 1.6%)
CIE-LABlab(70.18, 54.79, -43.23)
CIE-LCHlch(70.18, 69.79, 321.72°)
OKLaboklab(76.55% 0.1452 -0.1194)
OKLCHoklch(76.55% 0.188 320.6)
XYZxyz(58.8906, 41.0064, 96.0610)
Luminance0.4100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786FB #9AFB86
analogous
#AD86FB #E786FB #FB86D4
triadic
#E786FB #FBE786 #86FBE7
tetradic
#E786FB #FBAD86 #9AFB86 #86D4FB
square
#E786FB #FBAD86 #9AFB86 #86D4FB
split-complementary
#E786FB #D4FB86 #86FBAD
monochromatic
#D010F7 #DB4BF9 #E786FB #F3C1FD #F9E1FE

Accessibility & contrast

On white

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

On black

9.20
#E786FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786FB
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786FB#FFFFFF#000000##000000
##E786FB1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e786fb;
/* rgb */ color: rgb(231, 134, 251);
/* oklch */ color: oklch(76.6% 0.188 320.6);
Tailwind
colors: {
  custom: {
    50: '#f1acfd',
    500: '#e786fb',
    950: '#000000',
  },
}
SCSS
$custom: #e786fb;
$custom-light: #f1acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#e786fb",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 289.744,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76553,
    "c": 0.18801,
    "h": 320.6
  },
  "luminance": 0.41004
}

Semantic roles & 50–950 ramp

primary
#E786FB
secondary
#DBF6D5
accent
#E60027
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E786FB

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

Preview Lab → · Contrast checker → · Palette generator →

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