#D784EF#D784EF

#D784EF is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.9% C 0.171 H 318.4°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#D784EF
RGBrgb(215, 132, 239)
HSLhsl(287, 77%, 73%)
HSVhsv(287, 45%, 94%)
CMYKcmyk(10%, 44.8%, 0%, 6.3%)
CIE-LABlab(67.41, 49.01, -41.12)
CIE-LCHlch(67.41, 63.98, 320.00°)
OKLaboklab(73.92% 0.1278 -0.1136)
OKLCHoklch(73.92% 0.171 318.4)
XYZxyz(51.8535, 37.1833, 86.0902)
Luminance0.3718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D784EF #9CEF84
analogous
#A184EF #D784EF #EF84D1
triadic
#D784EF #EFD784 #84EFD7
tetradic
#D784EF #EFA184 #9CEF84 #84D1EF
square
#D784EF #EFA184 #9CEF84 #84D1EF
split-complementary
#D784EF #D1EF84 #84EFA1
monochromatic
#B11DDC #C54EE8 #D784EF #E9BAF6 #F6E4FB

Accessibility & contrast

On white

2.49
#D784EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#D784EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D784EF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D784EF#FFFFFF#000000##000000
##D784EF1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#D792AE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d784ef;
/* rgb */ color: rgb(215, 132, 239);
/* oklch */ color: oklch(73.9% 0.171 318.4);
Tailwind
colors: {
  custom: {
    50: '#e5aaf4',
    500: '#d784ef',
    950: '#000000',
  },
}
SCSS
$custom: #d784ef;
$custom-light: #e5aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d784ef",
  "rgb": {
    "r": 215,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 286.542,
    "s": 76.978,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73919,
    "c": 0.17103,
    "h": 318.4
  },
  "luminance": 0.37182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D784EF

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

Preview Lab → · Contrast checker → · Palette generator →

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