#D784F6#D784F6

#D784F6 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.3% C 0.178 H 316.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#D784F6
RGBrgb(215, 132, 246)
HSLhsl(284, 86%, 74%)
HSVhsv(284, 46%, 96%)
CMYKcmyk(12.6%, 46.3%, 0%, 3.5%)
CIE-LABlab(67.73, 50.41, -44.47)
CIE-LCHlch(67.73, 67.22, 318.58°)
OKLaboklab(74.26% 0.1289 -0.1233)
OKLCHoklch(74.26% 0.178 316.3)
XYZxyz(52.9077, 37.6050, 91.6424)
Luminance0.3760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D784F6 #A3F684
analogous
#9E84F6 #D784F6 #F684DC
triadic
#D784F6 #F6D784 #84F6D7
tetradic
#D784F6 #F69E84 #A3F684 #84DCF6
square
#D784F6 #F69E84 #A3F684 #84DCF6
split-complementary
#D784F6 #DCF684 #84F69E
monochromatic
#B212EE #C44BF2 #D784F6 #EABDFA #F6E2FD

Accessibility & contrast

On white

2.46
#D784F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#D784F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D784F6
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D784F6#FFFFFF#000000##000000
##D784F61.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0FA
Deuteranopia (green-blind)
#86A8F3
Tritanopia (blue-blind)
#D694B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d784f6;
/* rgb */ color: rgb(215, 132, 246);
/* oklch */ color: oklch(74.3% 0.178 316.3);
Tailwind
colors: {
  custom: {
    50: '#e5aaf9',
    500: '#d784f6',
    950: '#000000',
  },
}
SCSS
$custom: #d784f6;
$custom-light: #e5aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#d784f6",
  "rgb": {
    "r": 215,
    "g": 132,
    "b": 246
  },
  "hsl": {
    "h": 283.684,
    "s": 86.364,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74256,
    "c": 0.17836,
    "h": 316.3
  },
  "luminance": 0.37603
}

Semantic roles & 50–950 ramp

primary
#D784F6
secondary
#DEF5D6
accent
#E30340
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D784F6

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

Preview Lab → · Contrast checker → · Palette generator →

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