#D780F2#D780F2

#D780F2 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.5% C 0.181 H 317.8°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#D780F2
RGBrgb(215, 128, 242)
HSLhsl(286, 81%, 73%)
HSVhsv(286, 47%, 95%)
CMYKcmyk(11.2%, 47.1%, 0%, 5.1%)
CIE-LABlab(66.75, 51.66, -43.82)
CIE-LCHlch(66.75, 67.74, 319.70°)
OKLaboklab(73.47% 0.1338 -0.1214)
OKLCHoklch(73.47% 0.181 317.8)
XYZxyz(51.7683, 36.2979, 88.2664)
Luminance0.3630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D780F2 #9BF280
analogous
#9E80F2 #D780F2 #F280D4
triadic
#D780F2 #F2D780 #80F2D7
tetradic
#D780F2 #F29E80 #9BF280 #80D4F2
square
#D780F2 #F29E80 #9BF280 #80D4F2
split-complementary
#D780F2 #D4F280 #80F29E
monochromatic
#B117E1 #C648EC #D780F2 #E8B8F8 #F6E3FC

Accessibility & contrast

On white

2.54
#D780F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#D780F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D780F2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D780F2#FFFFFF#000000##000000
##D780F21.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#85A5EF
Tritanopia (blue-blind)
#D790AE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d780f2;
/* rgb */ color: rgb(215, 128, 242);
/* oklch */ color: oklch(73.5% 0.181 317.8);
Tailwind
colors: {
  custom: {
    50: '#e5a7f7',
    500: '#d780f2',
    950: '#000000',
  },
}
SCSS
$custom: #d780f2;
$custom-light: #e5a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d780f2",
  "rgb": {
    "r": 215,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 285.789,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73467,
    "c": 0.18065,
    "h": 317.8
  },
  "luminance": 0.36296
}

Semantic roles & 50–950 ramp

primary
#D780F2
secondary
#DEF4D7
accent
#DE083A
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D780F2

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

Preview Lab → · Contrast checker → · Palette generator →

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