#D02DC3#D02DC3

#D02DC3 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 61.0% C 0.247 H 331.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#D02DC3
RGBrgb(208, 45, 195)
HSLhsl(305, 64%, 50%)
HSVhsv(305, 78%, 82%)
CMYKcmyk(0%, 78.4%, 6.3%, 18.4%)
CIE-LABlab(50.96, 75.83, -42.27)
CIE-LCHlch(50.96, 86.82, 330.86°)
OKLaboklab(61% 0.2174 -0.1165)
OKLCHoklch(61% 0.247 331.8)
XYZxyz(36.8012, 19.2299, 53.3927)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02DC3 #2DD03A
analogous
#8B2DD0 #D02DC3 #D02D72
triadic
#D02DC3 #C3D02D #2DC3D0
tetradic
#D02DC3 #D08B2D #2DD03A #2D72D0
square
#D02DC3 #D08B2D #2DD03A #2D72D0
split-complementary
#D02DC3 #72D02D #2DD08B
monochromatic
#6B1765 #9E2294 #D02DC3 #DC5ED2 #E790E0

Accessibility & contrast

On white

4.33
#D02DC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#D02DC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02DC3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02DC3#FFFFFF#000000##000000
##D02DC31.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C6BC7
Deuteranopia (green-blind)
#6581BF
Tritanopia (blue-blind)
#D94378
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d02dc3;
/* rgb */ color: rgb(208, 45, 195);
/* oklch */ color: oklch(61.0% 0.247 331.8);
Tailwind
colors: {
  custom: {
    50: '#e379d5',
    500: '#d02dc3',
    950: '#000000',
  },
}
SCSS
$custom: #d02dc3;
$custom-light: #e379d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d02dc3",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 304.785,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61002,
    "c": 0.24661,
    "h": 331.8
  },
  "luminance": 0.19227
}

Semantic roles & 50–950 ramp

primary
#D02DC3
secondary
#87D28D
accent
#E74E40
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #D02DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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