#D780EA#D780EA

#D780EA is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.1% C 0.172 H 320.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D780EA
RGBrgb(215, 128, 234)
HSLhsl(289, 72%, 71%)
HSVhsv(289, 45%, 92%)
CMYKcmyk(8.1%, 45.3%, 0%, 8.2%)
CIE-LABlab(66.39, 50.10, -39.97)
CIE-LCHlch(66.39, 64.09, 321.41°)
OKLaboklab(73.08% 0.1326 -0.1103)
OKLCHoklch(73.08% 0.172 320.2)
XYZxyz(50.5930, 35.8278, 82.0764)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D780EA #93EA80
analogous
#A280EA #D780EA #EA80C8
triadic
#D780EA #EAD780 #80EAD7
tetradic
#D780EA #EAA280 #93EA80 #80C8EA
square
#D780EA #EAA280 #93EA80 #80C8EA
split-complementary
#D780EA #C8EA80 #80EAA2
monochromatic
#AF22CE #C64BE1 #D780EA #E8B5F3 #F7E5FB

Accessibility & contrast

On white

2.57
#D780EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#D780EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D780EA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D780EA#FFFFFF#000000##000000
##D780EA1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEE
Deuteranopia (green-blind)
#88A5E7
Tritanopia (blue-blind)
#D88EAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d780ea;
/* rgb */ color: rgb(215, 128, 234);
/* oklch */ color: oklch(73.1% 0.172 320.2);
Tailwind
colors: {
  custom: {
    50: '#e5a7f1',
    500: '#d780ea',
    950: '#000000',
  },
}
SCSS
$custom: #d780ea;
$custom-light: #e5a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d780ea",
  "rgb": {
    "r": 215,
    "g": 128,
    "b": 234
  },
  "hsl": {
    "h": 289.245,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73082,
    "c": 0.17246,
    "h": 320.2
  },
  "luminance": 0.35826
}

Semantic roles & 50–950 ramp

primary
#D780EA
secondary
#DAF1D5
accent
#D41235
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D780EA

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

Preview Lab → · Contrast checker → · Palette generator →

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