#D02DBB#D02DBB

#D02DBB is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.6% C 0.241 H 334.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#D02DBB
RGBrgb(208, 45, 187)
HSLhsl(308, 64%, 50%)
HSVhsv(308, 78%, 82%)
CMYKcmyk(0%, 78.4%, 10.1%, 18.4%)
CIE-LABlab(50.54, 74.67, -38.28)
CIE-LCHlch(50.54, 83.91, 332.86°)
OKLaboklab(60.58% 0.2172 -0.1049)
OKLCHoklch(60.58% 0.241 334.2)
XYZxyz(35.9208, 18.8778, 48.7560)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02DBB #2DD042
analogous
#942DD0 #D02DBB #D02D6A
triadic
#D02DBB #BBD02D #2DBBD0
tetradic
#D02DBB #D0942D #2DD042 #2D6AD0
square
#D02DBB #D0942D #2DD042 #2D6AD0
split-complementary
#D02DBB #6AD02D #2DD094
monochromatic
#6B1761 #9E228E #D02DBB #DC5ECC #E790DC

Accessibility & contrast

On white

4.40
#D02DBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#D02DBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02DBB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02DBB#FFFFFF#000000##000000
##D02DBB1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2969BF
Deuteranopia (green-blind)
#6981B7
Tritanopia (blue-blind)
#DA3E73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d02dbb;
/* rgb */ color: rgb(208, 45, 187);
/* oklch */ color: oklch(60.6% 0.241 334.2);
Tailwind
colors: {
  custom: {
    50: '#e379d0',
    500: '#d02dbb',
    950: '#000000',
  },
}
SCSS
$custom: #d02dbb;
$custom-light: #e379d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d02dbb",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 307.73,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60575,
    "c": 0.24118,
    "h": 334.2
  },
  "luminance": 0.18875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D02DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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