#D784FA#D784FA

#D784FA is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.5% C 0.183 H 315.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#D784FA
RGBrgb(215, 132, 250)
HSLhsl(282, 92%, 75%)
HSVhsv(282, 47%, 98%)
CMYKcmyk(14%, 47.2%, 0%, 2%)
CIE-LABlab(67.91, 51.22, -46.37)
CIE-LCHlch(67.91, 69.09, 317.84°)
OKLaboklab(74.45% 0.1294 -0.1288)
OKLCHoklch(74.45% 0.183 315.1)
XYZxyz(53.5282, 37.8532, 94.9106)
Luminance0.3785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D784FA #A7FA84
analogous
#9C84FA #D784FA #FA84E2
triadic
#D784FA #FAD784 #84FAD7
tetradic
#D784FA #FA9C84 #A7FA84 #84E2FA
square
#D784FA #FA9C84 #A7FA84 #84E2FA
split-complementary
#D784FA #E2FA84 #84FA9C
monochromatic
#B10EF5 #C449F8 #D784FA #EABFFC #F5E2FE

Accessibility & contrast

On white

2.45
#D784FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#D784FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D784FA
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D784FA#FFFFFF#000000##000000
##D784FA1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FE
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#D595B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d784fa;
/* rgb */ color: rgb(215, 132, 250);
/* oklch */ color: oklch(74.5% 0.183 315.1);
Tailwind
colors: {
  custom: {
    50: '#e5aafc',
    500: '#d784fa',
    950: '#000000',
  },
}
SCSS
$custom: #d784fa;
$custom-light: #e5aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#d784fa",
  "rgb": {
    "r": 215,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 282.203,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74453,
    "c": 0.1826,
    "h": 315.1
  },
  "luminance": 0.37852
}

Semantic roles & 50–950 ramp

primary
#D784FA
secondary
#DFF6D5
accent
#E60044
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D784FA

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

Preview Lab → · Contrast checker → · Palette generator →

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