#D02DC6#D02DC6

#D02DC6 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.2% C 0.249 H 330.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D02DC6
RGBrgb(208, 45, 198)
HSLhsl(304, 64%, 50%)
HSVhsv(304, 78%, 82%)
CMYKcmyk(0%, 78.4%, 4.8%, 18.4%)
CIE-LABlab(51.11, 76.27, -43.76)
CIE-LCHlch(51.11, 87.93, 330.16°)
OKLaboklab(61.17% 0.2174 -0.1208)
OKLCHoklch(61.17% 0.249 330.9)
XYZxyz(37.1438, 19.3669, 55.1970)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02DC6 #2DD037
analogous
#892DD0 #D02DC6 #D02D75
triadic
#D02DC6 #C6D02D #2DC6D0
tetradic
#D02DC6 #D0892D #2DD037 #2D75D0
square
#D02DC6 #D0892D #2DD037 #2D75D0
split-complementary
#D02DC6 #75D02D #2DD089
monochromatic
#6B1766 #9E2296 #D02DC6 #DC5ED4 #E790E2

Accessibility & contrast

On white

4.31
#D02DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D02DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02DC6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02DC6#FFFFFF#000000##000000
##D02DC61.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#166CCA
Deuteranopia (green-blind)
#6381C2
Tritanopia (blue-blind)
#D84479
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d02dc6;
/* rgb */ color: rgb(208, 45, 198);
/* oklch */ color: oklch(61.2% 0.249 330.9);
Tailwind
colors: {
  custom: {
    50: '#e37ad8',
    500: '#d02dc6',
    950: '#000000',
  },
}
SCSS
$custom: #d02dc6;
$custom-light: #e37ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#d02dc6",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 198
  },
  "hsl": {
    "h": 303.681,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61167,
    "c": 0.24868,
    "h": 330.9
  },
  "luminance": 0.19364
}

Semantic roles & 50–950 ramp

primary
#D02DC6
secondary
#87D28C
accent
#E74B40
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #D02DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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