#D784EC#D784EC

#D784EC is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.8% C 0.168 H 319.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#D784EC
RGBrgb(215, 132, 236)
HSLhsl(288, 73%, 72%)
HSVhsv(288, 44%, 93%)
CMYKcmyk(8.9%, 44.1%, 0%, 7.5%)
CIE-LABlab(67.28, 48.42, -39.68)
CIE-LCHlch(67.28, 62.60, 320.67°)
OKLaboklab(73.78% 0.1273 -0.1095)
OKLCHoklch(73.78% 0.168 319.3)
XYZxyz(51.4140, 37.0075, 83.7755)
Luminance0.3701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D784EC #99EC84
analogous
#A384EC #D784EC #EC84CD
triadic
#D784EC #ECD784 #84ECD7
tetradic
#D784EC #ECA384 #99EC84 #84CDEC
square
#D784EC #ECA384 #99EC84 #84CDEC
split-complementary
#D784EC #CDEC84 #84ECA3
monochromatic
#B021D5 #C64FE4 #D784EC #E8B9F4 #F6E4FB

Accessibility & contrast

On white

2.50
#D784EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#D784EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D784EC
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D784EC#FFFFFF#000000##000000
##D784EC1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#8BA7E9
Tritanopia (blue-blind)
#D892AD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d784ec;
/* rgb */ color: rgb(215, 132, 236);
/* oklch */ color: oklch(73.8% 0.168 319.3);
Tailwind
colors: {
  custom: {
    50: '#e5aaf2',
    500: '#d784ec',
    950: '#000000',
  },
}
SCSS
$custom: #d784ec;
$custom-light: #e5aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d784ec",
  "rgb": {
    "r": 215,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 287.885,
    "s": 73.239,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73778,
    "c": 0.16791,
    "h": 319.3
  },
  "luminance": 0.37006
}

Semantic roles & 50–950 ramp

primary
#D784EC
secondary
#DEF3D8
accent
#D51038
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D784EC

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

Preview Lab → · Contrast checker → · Palette generator →

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