#D02AB9#D02AB9

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

Color values

HEX#D02AB9
RGBrgb(208, 42, 185)
HSLhsl(308, 66%, 49%)
HSVhsv(308, 80%, 82%)
CMYKcmyk(0%, 79.8%, 11.1%, 18.4%)
CIE-LABlab(50.18, 75.14, -37.68)
CIE-LCHlch(50.18, 84.06, 333.37°)
OKLaboklab(60.28% 0.2193 -0.1032)
OKLCHoklch(60.28% 0.242 334.8)
XYZxyz(35.5978, 18.5719, 47.5995)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02AB9 #2AD041
analogous
#942AD0 #D02AB9 #D02A66
triadic
#D02AB9 #B9D02A #2AB9D0
tetradic
#D02AB9 #D0942A #2AD041 #2A66D0
square
#D02AB9 #D0942A #2AD041 #2A66D0
split-complementary
#D02AB9 #66D02A #2AD094
monochromatic
#6A155E #9D208C #D02AB9 #DE5ACB #E88DDB

Accessibility & contrast

On white

4.46
#D02AB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#D02AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02AB9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02AB9#FFFFFF#000000##000000
##D02AB91.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2868BD
Deuteranopia (green-blind)
#6980B5
Tritanopia (blue-blind)
#DA3B71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d02ab9;
/* rgb */ color: rgb(208, 42, 185);
/* oklch */ color: oklch(60.3% 0.242 334.8);
Tailwind
colors: {
  custom: {
    50: '#e378ce',
    500: '#d02ab9',
    950: '#000000',
  },
}
SCSS
$custom: #d02ab9;
$custom-light: #e378ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d02ab9",
  "rgb": {
    "r": 208,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 308.313,
    "s": 66.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.24236,
    "h": 334.8
  },
  "luminance": 0.18569
}

Semantic roles & 50–950 ramp

primary
#D02AB9
secondary
#84D28F
accent
#E9563E
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #D02AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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