#E786F0#E786F0

#E786F0 is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.0% C 0.177 H 324.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#E786F0
RGBrgb(231, 134, 240)
HSLhsl(295, 78%, 73%)
HSVhsv(295, 44%, 94%)
CMYKcmyk(3.7%, 44.2%, 0%, 5.9%)
CIE-LABlab(69.71, 52.73, -37.96)
CIE-LCHlch(69.71, 64.97, 324.25°)
OKLaboklab(76.05% 0.1435 -0.1042)
OKLCHoklch(76.05% 0.177 324)
XYZxyz(57.2068, 40.3329, 87.1929)
Luminance0.4033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786F0 #8FF086
analogous
#B286F0 #E786F0 #F086C4
triadic
#E786F0 #F0E786 #86F0E7
tetradic
#E786F0 #F0B286 #8FF086 #86C4F0
square
#E786F0 #F0B286 #8FF086 #86C4F0
split-complementary
#E786F0 #C4F086 #86F0B2
monochromatic
#CF1CE0 #DC50E9 #E786F0 #F2BCF7 #FAE4FC

Accessibility & contrast

On white

2.32
#E786F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#E786F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786F0
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786F0#FFFFFF#000000##000000
##E786F01.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA3F4
Deuteranopia (green-blind)
#95AEED
Tritanopia (blue-blind)
#EB92B0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e786f0;
/* rgb */ color: rgb(231, 134, 240);
/* oklch */ color: oklch(76.0% 0.177 324.0);
Tailwind
colors: {
  custom: {
    50: '#f0acf5',
    500: '#e786f0',
    950: '#000000',
  },
}
SCSS
$custom: #e786f0;
$custom-light: #f0acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#e786f0",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 240
  },
  "hsl": {
    "h": 294.906,
    "s": 77.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76045,
    "c": 0.17732,
    "h": 324
  },
  "luminance": 0.4033
}

Semantic roles & 50–950 ramp

primary
#E786F0
secondary
#DAF3D8
accent
#DA0B1D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E786F0

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

Preview Lab → · Contrast checker → · Palette generator →

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