#E780E4#E780E4

#E780E4 is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.6% C 0.176 H 328.2°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#E780E4
RGBrgb(231, 128, 228)
HSLhsl(302, 68%, 70%)
HSVhsv(302, 45%, 91%)
CMYKcmyk(0%, 44.6%, 1.3%, 9.4%)
CIE-LABlab(68.04, 53.58, -33.93)
CIE-LCHlch(68.04, 63.42, 327.65°)
OKLaboklab(74.64% 0.1496 -0.0927)
OKLCHoklch(74.64% 0.176 328.2)
XYZxyz(54.6769, 38.0316, 77.8446)
Luminance0.3803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E780E4 #80E783
analogous
#B780E7 #E780E4 #E780B0
triadic
#E780E4 #E4E780 #80E4E7
tetradic
#E780E4 #E7B780 #80E783 #80B0E7
square
#E780E4 #E7B780 #80E783 #80B0E7
split-complementary
#E780E4 #B0E780 #80E7B7
monochromatic
#C726C2 #DD4DD9 #E780E4 #F1B3EF #FAE5FA

Accessibility & contrast

On white

2.44
#E780E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#E780E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E780E4
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E780E4#FFFFFF#000000##000000
##E780E41.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE7
Deuteranopia (green-blind)
#95ABE1
Tritanopia (blue-blind)
#ED8AA7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e780e4;
/* rgb */ color: rgb(231, 128, 228);
/* oklch */ color: oklch(74.6% 0.176 328.2);
Tailwind
colors: {
  custom: {
    50: '#f0a8ec',
    500: '#e780e4',
    950: '#000000',
  },
}
SCSS
$custom: #e780e4;
$custom-light: #f0a8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#e780e4",
  "rgb": {
    "r": 231,
    "g": 128,
    "b": 228
  },
  "hsl": {
    "h": 301.748,
    "s": 68.212,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74643,
    "c": 0.17603,
    "h": 328.2
  },
  "luminance": 0.38029
}

Semantic roles & 50–950 ramp

primary
#E780E4
secondary
#D3F0D4
accent
#D01B15
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E780E4

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

Preview Lab → · Contrast checker → · Palette generator →

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