#D780FC#D780FC

#D780FC is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.0% C 0.191 H 315.0°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#D780FC
RGBrgb(215, 128, 252)
HSLhsl(282, 95%, 75%)
HSVhsv(282, 49%, 99%)
CMYKcmyk(14.7%, 49.2%, 0%, 1.2%)
CIE-LABlab(67.21, 53.67, -48.57)
CIE-LCHlch(67.21, 72.38, 317.86°)
OKLaboklab(73.97% 0.1351 -0.1351)
OKLCHoklch(73.97% 0.191 315)
XYZxyz(53.3114, 36.9152, 96.3936)
Luminance0.3691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D780FC #A5FC80
analogous
#9980FC #D780FC #FC80E3
triadic
#D780FC #FCD780 #80FCD7
tetradic
#D780FC #FC9980 #A5FC80 #80E3FC
square
#D780FC #FC9980 #A5FC80 #80E3FC
split-complementary
#D780FC #E3FC80 #80FC99
monochromatic
#B108F9 #C444FB #D780FC #EABCFD #F6E1FE

Accessibility & contrast

On white

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

On black

8.38
#D780FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D780FC
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D780FC#FFFFFF#000000##000000
##D780FC1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#7FA6F9
Tritanopia (blue-blind)
#D593B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d780fc;
/* rgb */ color: rgb(215, 128, 252);
/* oklch */ color: oklch(74.0% 0.191 315.0);
Tailwind
colors: {
  custom: {
    50: '#e6a7fe',
    500: '#d780fc',
    950: '#000000',
  },
}
SCSS
$custom: #d780fc;
$custom-light: #e6a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d780fc",
  "rgb": {
    "r": 215,
    "g": 128,
    "b": 252
  },
  "hsl": {
    "h": 282.097,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73965,
    "c": 0.19105,
    "h": 315
  },
  "luminance": 0.36914
}

Semantic roles & 50–950 ramp

primary
#D780FC
secondary
#DFF7D4
accent
#E60044
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D780FC

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

Preview Lab → · Contrast checker → · Palette generator →

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