#D784E2#D784E2

#D784E2 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.3% C 0.158 H 322.7°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#D784E2
RGBrgb(215, 132, 226)
HSLhsl(293, 62%, 70%)
HSVhsv(293, 42%, 89%)
CMYKcmyk(4.9%, 41.6%, 0%, 11.4%)
CIE-LABlab(66.86, 46.49, -34.82)
CIE-LCHlch(66.86, 58.08, 323.17°)
OKLaboklab(73.32% 0.1255 -0.0955)
OKLCHoklch(73.32% 0.158 322.7)
XYZxyz(50.0016, 36.4425, 76.3370)
Luminance0.3644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D784E2 #8FE284
analogous
#A884E2 #D784E2 #E284BE
triadic
#D784E2 #E2D784 #84E2D7
tetradic
#D784E2 #E2A884 #8FE284 #84BEE2
square
#D784E2 #E2A884 #8FE284 #84BEE2
split-complementary
#D784E2 #BEE284 #84E2A8
monochromatic
#AE2DBF #C752D6 #D784E2 #E7B6EE #F7E6F9

Accessibility & contrast

On white

2.53
#D784E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#D784E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D784E2
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D784E2#FFFFFF#000000##000000
##D784E21.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#799CE5
Deuteranopia (green-blind)
#8FA6DF
Tritanopia (blue-blind)
#DA8FA8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d784e2;
/* rgb */ color: rgb(215, 132, 226);
/* oklch */ color: oklch(73.3% 0.158 322.7);
Tailwind
colors: {
  custom: {
    50: '#e5aaeb',
    500: '#d784e2',
    950: '#000000',
  },
}
SCSS
$custom: #d784e2;
$custom-light: #e5aaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#d784e2",
  "rgb": {
    "r": 215,
    "g": 132,
    "b": 226
  },
  "hsl": {
    "h": 292.979,
    "s": 61.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7332,
    "c": 0.15772,
    "h": 322.7
  },
  "luminance": 0.36441
}

Semantic roles & 50–950 ramp

primary
#D784E2
secondary
#D7EED4
accent
#CA1C30
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D784E2

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

Preview Lab → · Contrast checker → · Palette generator →

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