#E780DC#E780DC

#E780DC is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.3% C 0.169 H 331.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#E780DC
RGBrgb(231, 128, 220)
HSLhsl(306, 68%, 70%)
HSVhsv(306, 45%, 91%)
CMYKcmyk(0%, 44.6%, 4.8%, 9.4%)
CIE-LABlab(67.72, 52.20, -30.00)
CIE-LCHlch(67.72, 60.20, 330.11°)
OKLaboklab(74.3% 0.148 -0.0815)
OKLCHoklch(74.3% 0.169 331.2)
XYZxyz(53.5920, 37.5976, 72.1305)
Luminance0.3760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E780DC #80E78B
analogous
#BF80E7 #E780DC #E780A8
triadic
#E780DC #DCE780 #80DCE7
tetradic
#E780DC #E7BF80 #80E78B #80A8E7
square
#E780DC #E7BF80 #80E78B #80A8E7
split-complementary
#E780DC #A8E780 #80E7BF
monochromatic
#C726B6 #DD4DCE #E780DC #F1B3EA #FAE5F8

Accessibility & contrast

On white

2.47
#E780DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#E780DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E780DC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E780DC#FFFFFF#000000##000000
##E780DC1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9CDF
Deuteranopia (green-blind)
#98AAD9
Tritanopia (blue-blind)
#EE87A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e780dc;
/* rgb */ color: rgb(231, 128, 220);
/* oklch */ color: oklch(74.3% 0.169 331.2);
Tailwind
colors: {
  custom: {
    50: '#f0a8e7',
    500: '#e780dc',
    950: '#000000',
  },
}
SCSS
$custom: #e780dc;
$custom-light: #f0a8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e780dc",
  "rgb": {
    "r": 231,
    "g": 128,
    "b": 220
  },
  "hsl": {
    "h": 306.408,
    "s": 68.212,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74298,
    "c": 0.169,
    "h": 331.2
  },
  "luminance": 0.37595
}

Semantic roles & 50–950 ramp

primary
#E780DC
secondary
#D3F0D6
accent
#D02915
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E780DC

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

Preview Lab → · Contrast checker → · Palette generator →

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