#D780FB#D780FB

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

Color values

HEX#D780FB
RGBrgb(215, 128, 251)
HSLhsl(282, 94%, 74%)
HSVhsv(282, 49%, 98%)
CMYKcmyk(14.3%, 49%, 0%, 1.6%)
CIE-LABlab(67.17, 53.47, -48.10)
CIE-LCHlch(67.17, 71.92, 318.03°)
OKLaboklab(73.91% 0.1349 -0.1338)
OKLCHoklch(73.91% 0.19 315.3)
XYZxyz(53.1534, 36.8520, 95.5612)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D780FB #A4FB80
analogous
#9A80FB #D780FB #FB80E2
triadic
#D780FB #FBD780 #80FBD7
tetradic
#D780FB #FB9A80 #A4FB80 #80E2FB
square
#D780FB #FB9A80 #A4FB80 #80E2FB
split-complementary
#D780FB #E2FB80 #80FB9A
monochromatic
#B209F7 #C445F9 #D780FB #EABBFD #F6E1FE

Accessibility & contrast

On white

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

On black

8.37
#D780FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D780FB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D780FB#FFFFFF#000000##000000
##D780FB1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#D593B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d780fb;
/* rgb */ color: rgb(215, 128, 251);
/* oklch */ color: oklch(73.9% 0.190 315.3);
Tailwind
colors: {
  custom: {
    50: '#e5a7fd',
    500: '#d780fb',
    950: '#000000',
  },
}
SCSS
$custom: #d780fb;
$custom-light: #e5a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d780fb",
  "rgb": {
    "r": 215,
    "g": 128,
    "b": 251
  },
  "hsl": {
    "h": 282.439,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73914,
    "c": 0.19001,
    "h": 315.3
  },
  "luminance": 0.3685
}

Semantic roles & 50–950 ramp

primary
#D780FB
secondary
#DFF6D5
accent
#E60043
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D780FB

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

Preview Lab → · Contrast checker → · Palette generator →

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