#D02DBA#D02DBA

#D02DBA is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.5% C 0.241 H 334.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#D02DBA
RGBrgb(208, 45, 186)
HSLhsl(308, 64%, 50%)
HSVhsv(308, 78%, 82%)
CMYKcmyk(0%, 78.4%, 10.6%, 18.4%)
CIE-LABlab(50.49, 74.53, -37.78)
CIE-LCHlch(50.49, 83.56, 333.12°)
OKLaboklab(60.52% 0.2171 -0.1035)
OKLCHoklch(60.52% 0.241 334.5)
XYZxyz(35.8142, 18.8351, 48.1942)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02DBA #2DD043
analogous
#952DD0 #D02DBA #D02D69
triadic
#D02DBA #BAD02D #2DBAD0
tetradic
#D02DBA #D0952D #2DD043 #2D69D0
square
#D02DBA #D0952D #2DD043 #2D69D0
split-complementary
#D02DBA #69D02D #2DD095
monochromatic
#6B1760 #9E228D #D02DBA #DC5ECB #E790DB

Accessibility & contrast

On white

4.41
#D02DBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#D02DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02DBA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02DBA#FFFFFF#000000##000000
##D02DBA1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BE
Deuteranopia (green-blind)
#6980B6
Tritanopia (blue-blind)
#DA3E73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d02dba;
/* rgb */ color: rgb(208, 45, 186);
/* oklch */ color: oklch(60.5% 0.241 334.5);
Tailwind
colors: {
  custom: {
    50: '#e379cf',
    500: '#d02dba',
    950: '#000000',
  },
}
SCSS
$custom: #d02dba;
$custom-light: #e379cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d02dba",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 308.098,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60523,
    "c": 0.24052,
    "h": 334.5
  },
  "luminance": 0.18832
}

Semantic roles & 50–950 ramp

primary
#D02DBA
secondary
#87D291
accent
#E75740
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #D02DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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