#E780D9#E780D9

#E780D9 is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.2% C 0.166 H 332.3°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#E780D9
RGBrgb(231, 128, 217)
HSLhsl(308, 68%, 70%)
HSVhsv(308, 45%, 91%)
CMYKcmyk(0%, 44.6%, 6.1%, 9.4%)
CIE-LABlab(67.61, 51.69, -28.51)
CIE-LCHlch(67.61, 59.03, 331.12°)
OKLaboklab(74.17% 0.1474 -0.0773)
OKLCHoklch(74.17% 0.166 332.3)
XYZxyz(53.1982, 37.4401, 70.0568)
Luminance0.3744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E780D9 #80E78E
analogous
#C180E7 #E780D9 #E780A6
triadic
#E780D9 #D9E780 #80D9E7
tetradic
#E780D9 #E7C180 #80E78E #80A6E7
square
#E780D9 #E7C180 #80E78E #80A6E7
split-complementary
#E780D9 #A6E780 #80E7C1
monochromatic
#C726B1 #DD4DCA #E780D9 #F1B3E8 #FAE5F7

Accessibility & contrast

On white

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

On black

8.49
#E780D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E780D9
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E780D9#FFFFFF#000000##000000
##E780D91.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9BDC
Deuteranopia (green-blind)
#9AAAD6
Tritanopia (blue-blind)
#EF87A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e780d9;
/* rgb */ color: rgb(231, 128, 217);
/* oklch */ color: oklch(74.2% 0.166 332.3);
Tailwind
colors: {
  custom: {
    50: '#f0a8e5',
    500: '#e780d9',
    950: '#000000',
  },
}
SCSS
$custom: #e780d9;
$custom-light: #f0a8e5;
$custom-dark: #000000;
JSON
{
  "hex": "#e780d9",
  "rgb": {
    "r": 231,
    "g": 128,
    "b": 217
  },
  "hsl": {
    "h": 308.155,
    "s": 68.212,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74173,
    "c": 0.16644,
    "h": 332.3
  },
  "luminance": 0.37437
}

Semantic roles & 50–950 ramp

primary
#E780D9
secondary
#D3F0D7
accent
#D02F15
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#171015
muted
#857F84

Preview Lab

Preview with #E780D9

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

Preview Lab → · Contrast checker → · Palette generator →

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