#D780FA#D780FA

#D780FA is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.9% C 0.189 H 315.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#D780FA
RGBrgb(215, 128, 250)
HSLhsl(283, 92%, 74%)
HSVhsv(283, 49%, 98%)
CMYKcmyk(14%, 48.8%, 0%, 2%)
CIE-LABlab(67.12, 53.26, -47.62)
CIE-LCHlch(67.12, 71.45, 318.20°)
OKLaboklab(73.86% 0.1348 -0.1324)
OKLCHoklch(73.86% 0.189 315.5)
XYZxyz(52.9962, 36.7891, 94.7332)
Luminance0.3679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D780FA #A3FA80
analogous
#9A80FA #D780FA #FA80E0
triadic
#D780FA #FAD780 #80FAD7
tetradic
#D780FA #FA9A80 #A3FA80 #80E0FA
square
#D780FA #FA9A80 #A3FA80 #80E0FA
split-complementary
#D780FA #E0FA80 #80FA9A
monochromatic
#B20AF5 #C445F8 #D780FA #EABBFC #F6E2FE

Accessibility & contrast

On white

2.51
#D780FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#D780FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D780FA
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D780FA#FFFFFF#000000##000000
##D780FA1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#80A6F7
Tritanopia (blue-blind)
#D592B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d780fa;
/* rgb */ color: rgb(215, 128, 250);
/* oklch */ color: oklch(73.9% 0.189 315.5);
Tailwind
colors: {
  custom: {
    50: '#e5a7fc',
    500: '#d780fa',
    950: '#000000',
  },
}
SCSS
$custom: #d780fa;
$custom-light: #e5a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d780fa",
  "rgb": {
    "r": 215,
    "g": 128,
    "b": 250
  },
  "hsl": {
    "h": 282.787,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73864,
    "c": 0.18896,
    "h": 315.5
  },
  "luminance": 0.36788
}

Semantic roles & 50–950 ramp

primary
#D780FA
secondary
#DEF6D5
accent
#E60042
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D780FA

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

Preview Lab → · Contrast checker → · Palette generator →

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