#D84DC2#D84DC2

#D84DC2 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.8% C 0.215 H 334.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#D84DC2
RGBrgb(216, 77, 194)
HSLhsl(309, 64%, 57%)
HSVhsv(309, 64%, 85%)
CMYKcmyk(0%, 64.4%, 10.2%, 15.3%)
CIE-LABlab(55.89, 67.02, -33.85)
CIE-LCHlch(55.89, 75.08, 333.20°)
OKLaboklab(64.79% 0.1946 -0.0923)
OKLCHoklch(64.79% 0.215 334.6)
XYZxyz(40.7107, 23.8050, 53.4792)
Luminance0.2380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D84DC2 #4DD863
analogous
#A84DD8 #D84DC2 #D84D7D
triadic
#D84DC2 #C2D84D #4DC2D8
tetradic
#D84DC2 #D8A84D #4DD863 #4D7DD8
square
#D84DC2 #D8A84D #4DD863 #4D7DD8
split-complementary
#D84DC2 #7DD84D #4DD8A8
monochromatic
#8C1F7B #BE2AA7 #D84DC2 #E37FD3 #EEB1E4

Accessibility & contrast

On white

3.65
#D84DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#D84DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D84DC2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D84DC2#FFFFFF#000000##000000
##D84DC21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C5
Deuteranopia (green-blind)
#7A8DBE
Tritanopia (blue-blind)
#E25781
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d84dc2;
/* rgb */ color: rgb(216, 77, 194);
/* oklch */ color: oklch(64.8% 0.215 334.6);
Tailwind
colors: {
  custom: {
    50: '#e788d5',
    500: '#d84dc2',
    950: '#000000',
  },
}
SCSS
$custom: #d84dc2;
$custom-light: #e788d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d84dc2",
  "rgb": {
    "r": 216,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 309.496,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64793,
    "c": 0.21542,
    "h": 334.6
  },
  "luminance": 0.23802
}

Semantic roles & 50–950 ramp

primary
#D84DC2
secondary
#A4DCAD
accent
#E75B41
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D84DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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