#D780FF#D780FF

#D780FF is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.1% C 0.194 H 314.2°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#D780FF
RGBrgb(215, 128, 255)
HSLhsl(281, 100%, 75%)
HSVhsv(281, 50%, 100%)
CMYKcmyk(15.7%, 49.8%, 0%, 0%)
CIE-LABlab(67.36, 54.28, -49.98)
CIE-LCHlch(67.36, 73.79, 317.36°)
OKLaboklab(74.12% 0.1354 -0.1392)
OKLCHoklch(74.12% 0.194 314.2)
XYZxyz(53.7906, 37.1068, 98.9171)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D780FF #A8FF80
analogous
#9780FF #D780FF #FF80E8
triadic
#D780FF #FFD780 #80FFD7
tetradic
#D780FF #FF9780 #A8FF80 #80E8FF
square
#D780FF #FF9780 #A8FF80 #80E8FF
split-complementary
#D780FF #E8FF80 #80FF97
monochromatic
#B006FF #C443FF #D780FF #EABDFF #F5E0FF

Accessibility & contrast

On white

2.49
#D780FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#D780FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D780FF
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D780FF#FFFFFF#000000##000000
##D780FF1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#7EA6FC
Tritanopia (blue-blind)
#D494B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d780ff;
/* rgb */ color: rgb(215, 128, 255);
/* oklch */ color: oklch(74.1% 0.194 314.2);
Tailwind
colors: {
  custom: {
    50: '#e6a7ff',
    500: '#d780ff',
    950: '#000000',
  },
}
SCSS
$custom: #d780ff;
$custom-light: #e6a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d780ff",
  "rgb": {
    "r": 215,
    "g": 128,
    "b": 255
  },
  "hsl": {
    "h": 281.102,
    "s": 100,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74118,
    "c": 0.1942,
    "h": 314.2
  },
  "luminance": 0.37105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D780FF

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

Preview Lab → · Contrast checker → · Palette generator →

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