#E786E2#E786E2

#E786E2 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.4% C 0.164 H 328.9°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#E786E2
RGBrgb(231, 134, 226)
HSLhsl(303, 67%, 72%)
HSVhsv(303, 42%, 91%)
CMYKcmyk(0%, 42%, 2.2%, 9.4%)
CIE-LABlab(69.14, 50.21, -31.14)
CIE-LCHlch(69.14, 59.08, 328.20°)
OKLaboklab(75.43% 0.1407 -0.0848)
OKLCHoklch(75.43% 0.164 328.9)
XYZxyz(55.2067, 39.5329, 76.6594)
Luminance0.3953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786E2 #86E78B
analogous
#BC86E7 #E786E2 #E786B2
triadic
#E786E2 #E2E786 #86E2E7
tetradic
#E786E2 #E7BC86 #86E78B #86B2E7
square
#E786E2 #E7BC86 #86E78B #86B2E7
split-complementary
#E786E2 #B2E786 #86E7BC
monochromatic
#CA28C2 #DD53D6 #E786E2 #F1B9EE #FAE5F9

Accessibility & contrast

On white

2.36
#E786E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#E786E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786E2
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786E2#FFFFFF#000000##000000
##E786E21.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A1E5
Deuteranopia (green-blind)
#9AADDF
Tritanopia (blue-blind)
#ED8EAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e786e2;
/* rgb */ color: rgb(231, 134, 226);
/* oklch */ color: oklch(75.4% 0.164 328.9);
Tailwind
colors: {
  custom: {
    50: '#f0aceb',
    500: '#e786e2',
    950: '#000000',
  },
}
SCSS
$custom: #e786e2;
$custom-light: #f0aceb;
$custom-dark: #000000;
JSON
{
  "hex": "#e786e2",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 226
  },
  "hsl": {
    "h": 303.093,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75432,
    "c": 0.1643,
    "h": 328.9
  },
  "luminance": 0.3953
}

Semantic roles & 50–950 ramp

primary
#E786E2
secondary
#D8F1D9
accent
#CF2017
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E786E2

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

Preview Lab → · Contrast checker → · Palette generator →

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