#D780F4#D780F4

#D780F4 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.6% C 0.183 H 317.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#D780F4
RGBrgb(215, 128, 244)
HSLhsl(285, 84%, 73%)
HSVhsv(285, 48%, 96%)
CMYKcmyk(11.9%, 47.5%, 0%, 4.3%)
CIE-LABlab(66.84, 52.06, -44.77)
CIE-LCHlch(66.84, 68.66, 319.30°)
OKLaboklab(73.57% 0.1341 -0.1241)
OKLCHoklch(73.57% 0.183 317.2)
XYZxyz(52.0703, 36.4187, 89.8570)
Luminance0.3642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D780F4 #9DF480
analogous
#9D80F4 #D780F4 #F480D7
triadic
#D780F4 #F4D780 #80F4D7
tetradic
#D780F4 #F49D80 #9DF480 #80D7F4
square
#D780F4 #F49D80 #9DF480 #80D7F4
split-complementary
#D780F4 #D7F480 #80F49D
monochromatic
#B114E6 #C548EF #D780F4 #E9B8F9 #F6E3FD

Accessibility & contrast

On white

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

On black

8.28
#D780F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D780F4
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D780F4#FFFFFF#000000##000000
##D780F41.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF8
Deuteranopia (green-blind)
#84A5F1
Tritanopia (blue-blind)
#D691AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d780f4;
/* rgb */ color: rgb(215, 128, 244);
/* oklch */ color: oklch(73.6% 0.183 317.2);
Tailwind
colors: {
  custom: {
    50: '#e5a7f8',
    500: '#d780f4',
    950: '#000000',
  },
}
SCSS
$custom: #d780f4;
$custom-light: #e5a7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d780f4",
  "rgb": {
    "r": 215,
    "g": 128,
    "b": 244
  },
  "hsl": {
    "h": 285,
    "s": 84.058,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73565,
    "c": 0.18271,
    "h": 317.2
  },
  "luminance": 0.36417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D780F4

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

Preview Lab → · Contrast checker → · Palette generator →

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