#D82DC9#D82DC9

#D82DC9 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.5% C 0.254 H 332.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D82DC9
RGBrgb(216, 45, 201)
HSLhsl(305, 69%, 51%)
HSVhsv(305, 79%, 85%)
CMYKcmyk(0%, 79.2%, 6.9%, 15.3%)
CIE-LABlab(52.62, 78.31, -43.02)
CIE-LCHlch(52.62, 89.35, 331.22°)
OKLaboklab(62.54% 0.2251 -0.1185)
OKLCHoklch(62.54% 0.254 332.2)
XYZxyz(39.8001, 20.6962, 57.1456)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D82DC9 #2DD83C
analogous
#912DD8 #D82DC9 #D82D73
triadic
#D82DC9 #C9D82D #2DC9D8
tetradic
#D82DC9 #D8912D #2DD83C #2D73D8
square
#D82DC9 #D8912D #2DD83C #2D73D8
split-complementary
#D82DC9 #73D82D #2DD891
monochromatic
#75166D #A91F9C #D82DC9 #E261D6 #EB94E4

Accessibility & contrast

On white

4.09
#D82DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D82DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D82DC9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D82DC9#FFFFFF#000000##000000
##D82DC91.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECD
Deuteranopia (green-blind)
#6986C5
Tritanopia (blue-blind)
#E1437B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d82dc9;
/* rgb */ color: rgb(216, 45, 201);
/* oklch */ color: oklch(62.5% 0.254 332.2);
Tailwind
colors: {
  custom: {
    50: '#e87bda',
    500: '#d82dc9',
    950: '#000000',
  },
}
SCSS
$custom: #d82dc9;
$custom-light: #e87bda;
$custom-dark: #000000;
JSON
{
  "hex": "#d82dc9",
  "rgb": {
    "r": 216,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 305.263,
    "s": 68.675,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62541,
    "c": 0.2544,
    "h": 332.2
  },
  "luminance": 0.20693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D82DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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