#D041D2#D041D2

#D041D2 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.3% C 0.238 H 327.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#D041D2
RGBrgb(208, 65, 210)
HSLhsl(299, 62%, 54%)
HSVhsv(299, 69%, 82%)
CMYKcmyk(1%, 69%, 0%, 17.6%)
CIE-LABlab(53.86, 72.10, -46.29)
CIE-LCHlch(53.86, 85.68, 327.30°)
OKLaboklab(63.34% 0.2002 -0.1282)
OKLCHoklch(63.34% 0.238 327.4)
XYZxyz(39.5350, 21.8464, 63.0947)
Luminance0.2184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D041D2 #43D241
analogous
#8841D2 #D041D2 #D2418C
triadic
#D041D2 #D2D041 #41D2D0
tetradic
#D041D2 #D28841 #43D241 #418CD2
square
#D041D2 #D28841 #43D241 #418CD2
split-complementary
#D041D2 #8CD241 #41D288
monochromatic
#7A1D7B #AB29AD #D041D2 #DC72DE #E8A4E9

Accessibility & contrast

On white

3.91
#D041D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#D041D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D041D2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D041D2#FFFFFF#000000##000000
##D041D21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2675D6
Deuteranopia (green-blind)
#6587CE
Tritanopia (blue-blind)
#D65785
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d041d2;
/* rgb */ color: rgb(208, 65, 210);
/* oklch */ color: oklch(63.3% 0.238 327.4);
Tailwind
colors: {
  custom: {
    50: '#e282e0',
    500: '#d041d2',
    950: '#000000',
  },
}
SCSS
$custom: #d041d2;
$custom-light: #e282e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d041d2",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 299.172,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6334,
    "c": 0.23776,
    "h": 327.4
  },
  "luminance": 0.21844
}

Semantic roles & 50–950 ramp

primary
#D041D2
secondary
#99D698
accent
#E54345
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D041D2

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

Preview Lab → · Contrast checker → · Palette generator →

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