#E786F8#E786F8

#E786F8 is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.4% C 0.185 H 321.5°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#E786F8
RGBrgb(231, 134, 248)
HSLhsl(291, 89%, 75%)
HSVhsv(291, 46%, 97%)
CMYKcmyk(6.9%, 46%, 0%, 2.7%)
CIE-LABlab(70.05, 54.22, -41.80)
CIE-LCHlch(70.05, 68.46, 322.37°)
OKLaboklab(76.41% 0.1448 -0.1153)
OKLCHoklch(76.41% 0.185 321.5)
XYZxyz(58.4214, 40.8188, 93.5902)
Luminance0.4082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786F8 #97F886
analogous
#AE86F8 #E786F8 #F886D0
triadic
#E786F8 #F8E786 #86F8E7
tetradic
#E786F8 #F8AE86 #97F886 #86D0F8
square
#E786F8 #F8AE86 #97F886 #86D0F8
split-complementary
#E786F8 #D0F886 #86F8AE
monochromatic
#D012F1 #DC4CF5 #E786F8 #F2C0FB #F9E2FD

Accessibility & contrast

On white

2.29
#E786F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#E786F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786F8
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786F8#FFFFFF#000000##000000
##E786F81.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FC
Deuteranopia (green-blind)
#91AFF5
Tritanopia (blue-blind)
#E994B4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e786f8;
/* rgb */ color: rgb(231, 134, 248);
/* oklch */ color: oklch(76.4% 0.185 321.5);
Tailwind
colors: {
  custom: {
    50: '#f0acfb',
    500: '#e786f8',
    950: '#000000',
  },
}
SCSS
$custom: #e786f8;
$custom-light: #f0acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#e786f8",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 291.053,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76412,
    "c": 0.18507,
    "h": 321.5
  },
  "luminance": 0.40816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E786F8

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

Preview Lab → · Contrast checker → · Palette generator →

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