#D780EB#D780EB

#D780EB is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.1% C 0.173 H 319.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#D780EB
RGBrgb(215, 128, 235)
HSLhsl(289, 73%, 71%)
HSVhsv(289, 46%, 92%)
CMYKcmyk(8.5%, 45.5%, 0%, 7.8%)
CIE-LABlab(66.43, 50.29, -40.45)
CIE-LCHlch(66.43, 64.54, 321.19°)
OKLaboklab(73.13% 0.1327 -0.1117)
OKLCHoklch(73.13% 0.173 319.9)
XYZxyz(50.7370, 35.8854, 82.8351)
Luminance0.3588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D780EB #94EB80
analogous
#A180EB #D780EB #EB80C9
triadic
#D780EB #EBD780 #80EBD7
tetradic
#D780EB #EBA180 #94EB80 #80C9EB
square
#D780EB #EBA180 #94EB80 #80C9EB
split-complementary
#D780EB #C9EB80 #80EBA1
monochromatic
#AF21D0 #C64BE3 #D780EB #E8B5F3 #F7E5FB

Accessibility & contrast

On white

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

On black

8.18
#D780EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D780EB
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D780EB#FFFFFF#000000##000000
##D780EB1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEF
Deuteranopia (green-blind)
#88A5E8
Tritanopia (blue-blind)
#D88EAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d780eb;
/* rgb */ color: rgb(215, 128, 235);
/* oklch */ color: oklch(73.1% 0.173 319.9);
Tailwind
colors: {
  custom: {
    50: '#e5a7f2',
    500: '#d780eb',
    950: '#000000',
  },
}
SCSS
$custom: #d780eb;
$custom-light: #e5a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d780eb",
  "rgb": {
    "r": 215,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 288.785,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7313,
    "c": 0.17347,
    "h": 319.9
  },
  "luminance": 0.35884
}

Semantic roles & 50–950 ramp

primary
#D780EB
secondary
#DBF1D5
accent
#D51135
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D780EB

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

Preview Lab → · Contrast checker → · Palette generator →

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