#D780F8#D780F8

#D780F8 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.8% C 0.187 H 316.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#D780F8
RGBrgb(215, 128, 248)
HSLhsl(284, 90%, 74%)
HSVhsv(284, 48%, 97%)
CMYKcmyk(13.3%, 48.4%, 0%, 2.7%)
CIE-LABlab(67.02, 52.86, -46.68)
CIE-LCHlch(67.02, 70.52, 318.56°)
OKLaboklab(73.76% 0.1346 -0.1296)
OKLCHoklch(73.76% 0.187 316.1)
XYZxyz(52.6842, 36.6643, 93.0904)
Luminance0.3666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D780F8 #A1F880
analogous
#9B80F8 #D780F8 #F880DD
triadic
#D780F8 #F8D780 #80F8D7
tetradic
#D780F8 #F89B80 #A1F880 #80DDF8
square
#D780F8 #F89B80 #A1F880 #80DDF8
split-complementary
#D780F8 #DDF880 #80F89B
monochromatic
#B20DF0 #C546F5 #D780F8 #E9BAFB #F6E2FD

Accessibility & contrast

On white

2.52
#D780F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#D780F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D780F8
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D780F8#FFFFFF#000000##000000
##D780F81.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFC
Deuteranopia (green-blind)
#82A6F5
Tritanopia (blue-blind)
#D592B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d780f8;
/* rgb */ color: rgb(215, 128, 248);
/* oklch */ color: oklch(73.8% 0.187 316.1);
Tailwind
colors: {
  custom: {
    50: '#e5a7fb',
    500: '#d780f8',
    950: '#000000',
  },
}
SCSS
$custom: #d780f8;
$custom-light: #e5a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d780f8",
  "rgb": {
    "r": 215,
    "g": 128,
    "b": 248
  },
  "hsl": {
    "h": 283.5,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73763,
    "c": 0.18686,
    "h": 316.1
  },
  "luminance": 0.36663
}

Semantic roles & 50–950 ramp

primary
#D780F8
secondary
#DEF5D6
accent
#E6003F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D780F8

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

Preview Lab → · Contrast checker → · Palette generator →

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