#D82DCA#D82DCA

#D82DCA is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.6% C 0.255 H 332.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D82DCA
RGBrgb(216, 45, 202)
HSLhsl(305, 69%, 51%)
HSVhsv(305, 79%, 85%)
CMYKcmyk(0%, 79.2%, 6.5%, 15.3%)
CIE-LABlab(52.67, 78.46, -43.52)
CIE-LCHlch(52.67, 89.72, 330.99°)
OKLaboklab(62.6% 0.2251 -0.1199)
OKLCHoklch(62.6% 0.255 332)
XYZxyz(39.9181, 20.7434, 57.7672)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D82DCA #2DD83B
analogous
#902DD8 #D82DCA #D82D74
triadic
#D82DCA #CAD82D #2DCAD8
tetradic
#D82DCA #D8902D #2DD83B #2D74D8
square
#D82DCA #D8902D #2DD83B #2D74D8
split-complementary
#D82DCA #74D82D #2DD890
monochromatic
#75166D #A91F9D #D82DCA #E261D7 #EB94E4

Accessibility & contrast

On white

4.08
#D82DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D82DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D82DCA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D82DCA#FFFFFF#000000##000000
##D82DCA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6FCE
Deuteranopia (green-blind)
#6986C6
Tritanopia (blue-blind)
#E1447C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d82dca;
/* rgb */ color: rgb(216, 45, 202);
/* oklch */ color: oklch(62.6% 0.255 332.0);
Tailwind
colors: {
  custom: {
    50: '#e87bda',
    500: '#d82dca',
    950: '#000000',
  },
}
SCSS
$custom: #d82dca;
$custom-light: #e87bda;
$custom-dark: #000000;
JSON
{
  "hex": "#d82dca",
  "rgb": {
    "r": 216,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 304.912,
    "s": 68.675,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62595,
    "c": 0.25508,
    "h": 332
  },
  "luminance": 0.2074
}

Semantic roles & 50–950 ramp

primary
#D82DCA
secondary
#8BD691
accent
#EC4B3C
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #D82DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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