#D041D5#D041D5

#D041D5 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.5% C 0.240 H 326.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#D041D5
RGBrgb(208, 65, 213)
HSLhsl(298, 64%, 55%)
HSVhsv(298, 69%, 84%)
CMYKcmyk(2.3%, 69.5%, 0%, 16.5%)
CIE-LABlab(54.02, 72.59, -47.74)
CIE-LCHlch(54.02, 86.88, 326.67°)
OKLaboklab(63.51% 0.2002 -0.1325)
OKLCHoklch(63.51% 0.24 326.5)
XYZxyz(39.9122, 21.9973, 65.0816)
Luminance0.2200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D041D5 #46D541
analogous
#8641D5 #D041D5 #D54190
triadic
#D041D5 #D5D041 #41D5D0
tetradic
#D041D5 #D58641 #46D541 #4190D5
square
#D041D5 #D58641 #46D541 #4190D5
split-complementary
#D041D5 #90D541 #41D586
monochromatic
#7C1C7F #AD27B2 #D041D5 #DC73E0 #E9A5EB

Accessibility & contrast

On white

3.89
#D041D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#D041D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D041D5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D041D5#FFFFFF#000000##000000
##D041D51.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2176D9
Deuteranopia (green-blind)
#6387D1
Tritanopia (blue-blind)
#D65887
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d041d5;
/* rgb */ color: rgb(208, 65, 213);
/* oklch */ color: oklch(63.5% 0.240 326.5);
Tailwind
colors: {
  custom: {
    50: '#e282e2',
    500: '#d041d5',
    950: '#000000',
  },
}
SCSS
$custom: #d041d5;
$custom-light: #e282e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d041d5",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 297.973,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.63507,
    "c": 0.24007,
    "h": 326.5
  },
  "luminance": 0.21995
}

Semantic roles & 50–950 ramp

primary
#D041D5
secondary
#9CD89A
accent
#E74147
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D041D5

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

Preview Lab → · Contrast checker → · Palette generator →

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