#E780E2#E780E2

#E780E2 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.6% C 0.174 H 328.9°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#E780E2
RGBrgb(231, 128, 226)
HSLhsl(303, 68%, 70%)
HSVhsv(303, 45%, 91%)
CMYKcmyk(0%, 44.6%, 2.2%, 9.4%)
CIE-LABlab(67.96, 53.23, -32.95)
CIE-LCHlch(67.96, 62.60, 328.24°)
OKLaboklab(74.56% 0.1493 -0.0899)
OKLCHoklch(74.56% 0.174 328.9)
XYZxyz(54.4009, 37.9211, 76.3908)
Luminance0.3792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E780E2 #80E785
analogous
#B980E7 #E780E2 #E780AE
triadic
#E780E2 #E2E780 #80E2E7
tetradic
#E780E2 #E7B980 #80E785 #80AEE7
square
#E780E2 #E7B980 #80E785 #80AEE7
split-complementary
#E780E2 #AEE780 #80E7B9
monochromatic
#C726BF #DD4DD6 #E780E2 #F1B3EE #FAE5F9

Accessibility & contrast

On white

2.45
#E780E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#E780E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E780E2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E780E2#FFFFFF#000000##000000
##E780E21.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9DE5
Deuteranopia (green-blind)
#96ABDF
Tritanopia (blue-blind)
#ED89A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e780e2;
/* rgb */ color: rgb(231, 128, 226);
/* oklch */ color: oklch(74.6% 0.174 328.9);
Tailwind
colors: {
  custom: {
    50: '#f0a8eb',
    500: '#e780e2',
    950: '#000000',
  },
}
SCSS
$custom: #e780e2;
$custom-light: #f0a8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#e780e2",
  "rgb": {
    "r": 231,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 302.913,
    "s": 68.212,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74556,
    "c": 0.17424,
    "h": 328.9
  },
  "luminance": 0.37918
}

Semantic roles & 50–950 ramp

primary
#E780E2
secondary
#D3F0D5
accent
#D01E15
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E780E2

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

Preview Lab → · Contrast checker → · Palette generator →

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