#D02DC7#D02DC7

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

Color values

HEX#D02DC7
RGBrgb(208, 45, 199)
HSLhsl(303, 64%, 50%)
HSVhsv(303, 78%, 82%)
CMYKcmyk(0%, 78.4%, 4.3%, 18.4%)
CIE-LABlab(51.17, 76.42, -44.25)
CIE-LCHlch(51.17, 88.31, 329.93°)
OKLaboklab(61.22% 0.2174 -0.1222)
OKLCHoklch(61.22% 0.249 330.7)
XYZxyz(37.2595, 19.4132, 55.8065)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02DC7 #2DD036
analogous
#882DD0 #D02DC7 #D02D76
triadic
#D02DC7 #C7D02D #2DC7D0
tetradic
#D02DC7 #D0882D #2DD036 #2D76D0
square
#D02DC7 #D0882D #2DD036 #2D76D0
split-complementary
#D02DC7 #76D02D #2DD088
monochromatic
#6B1767 #9E2297 #D02DC7 #DC5ED5 #E790E2

Accessibility & contrast

On white

4.30
#D02DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#D02DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02DC7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02DC7#FFFFFF#000000##000000
##D02DC71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#136CCB
Deuteranopia (green-blind)
#6382C3
Tritanopia (blue-blind)
#D8457A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d02dc7;
/* rgb */ color: rgb(208, 45, 199);
/* oklch */ color: oklch(61.2% 0.249 330.7);
Tailwind
colors: {
  custom: {
    50: '#e37ad8',
    500: '#d02dc7',
    950: '#000000',
  },
}
SCSS
$custom: #d02dc7;
$custom-light: #e37ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#d02dc7",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 303.313,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.24938,
    "h": 330.7
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#D02DC7
secondary
#87D28B
accent
#E74A40
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #D02DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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