#D784EA#D784EA

#D784EA is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.7% C 0.166 H 320.0°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#D784EA
RGBrgb(215, 132, 234)
HSLhsl(289, 71%, 72%)
HSVhsv(289, 44%, 92%)
CMYKcmyk(8.1%, 43.6%, 0%, 8.2%)
CIE-LABlab(67.20, 48.03, -38.71)
CIE-LCHlch(67.20, 61.69, 321.13°)
OKLaboklab(73.69% 0.127 -0.1067)
OKLCHoklch(73.69% 0.166 320)
XYZxyz(51.1250, 36.8919, 82.2537)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D784EA #97EA84
analogous
#A484EA #D784EA #EA84CA
triadic
#D784EA #EAD784 #84EAD7
tetradic
#D784EA #EAA484 #97EA84 #84CAEA
square
#D784EA #EAA484 #97EA84 #84CAEA
split-complementary
#D784EA #CAEA84 #84EAA4
monochromatic
#B024D0 #C650E1 #D784EA #E8B8F3 #F7E5FB

Accessibility & contrast

On white

2.51
#D784EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#D784EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D784EA
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D784EA#FFFFFF#000000##000000
##D784EA1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#8CA7E7
Tritanopia (blue-blind)
#D891AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d784ea;
/* rgb */ color: rgb(215, 132, 234);
/* oklch */ color: oklch(73.7% 0.166 320.0);
Tailwind
colors: {
  custom: {
    50: '#e5aaf1',
    500: '#d784ea',
    950: '#000000',
  },
}
SCSS
$custom: #d784ea;
$custom-light: #e5aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d784ea",
  "rgb": {
    "r": 215,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 288.824,
    "s": 70.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73685,
    "c": 0.16585,
    "h": 320
  },
  "luminance": 0.3689
}

Semantic roles & 50–950 ramp

primary
#D784EA
secondary
#DDF2D8
accent
#D31336
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D784EA

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

Preview Lab → · Contrast checker → · Palette generator →

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