#D02DB6#D02DB6

#D02DB6 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.3% C 0.238 H 335.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#D02DB6
RGBrgb(208, 45, 182)
HSLhsl(310, 64%, 50%)
HSVhsv(310, 78%, 82%)
CMYKcmyk(0%, 78.4%, 12.5%, 18.4%)
CIE-LABlab(50.30, 73.97, -35.75)
CIE-LCHlch(50.30, 82.15, 334.20°)
OKLaboklab(60.32% 0.2169 -0.0977)
OKLCHoklch(60.32% 0.238 335.8)
XYZxyz(35.3949, 18.6674, 45.9860)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02DB6 #2DD047
analogous
#992DD0 #D02DB6 #D02D64
triadic
#D02DB6 #B6D02D #2DB6D0
tetradic
#D02DB6 #D0992D #2DD047 #2D64D0
square
#D02DB6 #D0992D #2DD047 #2D64D0
split-complementary
#D02DB6 #64D02D #2DD099
monochromatic
#6B175E #9E228A #D02DB6 #DC5EC8 #E790D9

Accessibility & contrast

On white

4.44
#D02DB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#D02DB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02DB6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02DB6#FFFFFF#000000##000000
##D02DB61.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E68BA
Deuteranopia (green-blind)
#6B80B2
Tritanopia (blue-blind)
#DB3B70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d02db6;
/* rgb */ color: rgb(208, 45, 182);
/* oklch */ color: oklch(60.3% 0.238 335.8);
Tailwind
colors: {
  custom: {
    50: '#e379cc',
    500: '#d02db6',
    950: '#000000',
  },
}
SCSS
$custom: #d02db6;
$custom-light: #e379cc;
$custom-dark: #000000;
JSON
{
  "hex": "#d02db6",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 309.571,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60317,
    "c": 0.23787,
    "h": 335.8
  },
  "luminance": 0.18664
}

Semantic roles & 50–950 ramp

primary
#D02DB6
secondary
#87D293
accent
#E75B40
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A13
muted
#847C82

Preview Lab

Preview with #D02DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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