#D02DC5#D02DC5

#D02DC5 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.1% C 0.248 H 331.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D02DC5
RGBrgb(208, 45, 197)
HSLhsl(304, 64%, 50%)
HSVhsv(304, 78%, 82%)
CMYKcmyk(0%, 78.4%, 5.3%, 18.4%)
CIE-LABlab(51.06, 76.12, -43.26)
CIE-LCHlch(51.06, 87.56, 330.39°)
OKLaboklab(61.11% 0.2174 -0.1193)
OKLCHoklch(61.11% 0.248 331.2)
XYZxyz(37.0289, 19.3210, 54.5916)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02DC5 #2DD038
analogous
#8A2DD0 #D02DC5 #D02D74
triadic
#D02DC5 #C5D02D #2DC5D0
tetradic
#D02DC5 #D08A2D #2DD038 #2D74D0
square
#D02DC5 #D08A2D #2DD038 #2D74D0
split-complementary
#D02DC5 #74D02D #2DD08A
monochromatic
#6B1766 #9E2295 #D02DC5 #DC5ED4 #E790E1

Accessibility & contrast

On white

4.32
#D02DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#D02DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02DC5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02DC5#FFFFFF#000000##000000
##D02DC51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#186BC9
Deuteranopia (green-blind)
#6481C1
Tritanopia (blue-blind)
#D84479
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d02dc5;
/* rgb */ color: rgb(208, 45, 197);
/* oklch */ color: oklch(61.1% 0.248 331.2);
Tailwind
colors: {
  custom: {
    50: '#e37ad7',
    500: '#d02dc5',
    950: '#000000',
  },
}
SCSS
$custom: #d02dc5;
$custom-light: #e37ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#d02dc5",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 197
  },
  "hsl": {
    "h": 304.049,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61112,
    "c": 0.24799,
    "h": 331.2
  },
  "luminance": 0.19318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D02DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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