#D02DB5#D02DB5

#D02DB5 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.3% C 0.237 H 336.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D02DB5
RGBrgb(208, 45, 181)
HSLhsl(310, 64%, 50%)
HSVhsv(310, 78%, 82%)
CMYKcmyk(0%, 78.4%, 13%, 18.4%)
CIE-LABlab(50.25, 73.83, -35.24)
CIE-LCHlch(50.25, 81.81, 334.48°)
OKLaboklab(60.27% 0.2168 -0.0962)
OKLCHoklch(60.27% 0.237 336.1)
XYZxyz(35.2919, 18.6262, 45.4436)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02DB5 #2DD048
analogous
#9A2DD0 #D02DB5 #D02D63
triadic
#D02DB5 #B5D02D #2DB5D0
tetradic
#D02DB5 #D09A2D #2DD048 #2D63D0
square
#D02DB5 #D09A2D #2DD048 #2D63D0
split-complementary
#D02DB5 #63D02D #2DD09A
monochromatic
#6B175D #9E2289 #D02DB5 #DC5EC7 #E790D9

Accessibility & contrast

On white

4.44
#D02DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#D02DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02DB5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02DB5#FFFFFF#000000##000000
##D02DB51.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3068B9
Deuteranopia (green-blind)
#6C80B1
Tritanopia (blue-blind)
#DB3B70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d02db5;
/* rgb */ color: rgb(208, 45, 181);
/* oklch */ color: oklch(60.3% 0.237 336.1);
Tailwind
colors: {
  custom: {
    50: '#e379cb',
    500: '#d02db5',
    950: '#000000',
  },
}
SCSS
$custom: #d02db5;
$custom-light: #e379cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d02db5",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 309.939,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60266,
    "c": 0.23722,
    "h": 336.1
  },
  "luminance": 0.18623
}

Semantic roles & 50–950 ramp

primary
#D02DB5
secondary
#87D293
accent
#E75C40
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D02DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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