#D841CC#D841CC

#D841CC is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.2% C 0.237 H 331.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#D841CC
RGBrgb(216, 65, 204)
HSLhsl(305, 66%, 55%)
HSVhsv(305, 70%, 85%)
CMYKcmyk(0%, 69.9%, 5.6%, 15.3%)
CIE-LABlab(54.81, 72.93, -41.29)
CIE-LCHlch(54.81, 83.80, 330.48°)
OKLaboklab(64.16% 0.2083 -0.1136)
OKLCHoklch(64.16% 0.237 331.4)
XYZxyz(41.1083, 22.7424, 59.3396)
Luminance0.2274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D841CC #41D84D
analogous
#9841D8 #D841CC #D84181
triadic
#D841CC #CCD841 #41CCD8
tetradic
#D841CC #D89841 #41D84D #4181D8
square
#D841CC #D89841 #41D84D #4181D8
split-complementary
#D841CC #81D841 #41D898
monochromatic
#841B7B #B625AB #D841CC #E274DA #EDA7E7

Accessibility & contrast

On white

3.79
#D841CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#D841CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D841CC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D841CC#FFFFFF#000000##000000
##D841CC1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D0
Deuteranopia (green-blind)
#6F8BC8
Tritanopia (blue-blind)
#E15282
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d841cc;
/* rgb */ color: rgb(216, 65, 204);
/* oklch */ color: oklch(64.2% 0.237 331.4);
Tailwind
colors: {
  custom: {
    50: '#e883dc',
    500: '#d841cc',
    950: '#000000',
  },
}
SCSS
$custom: #d841cc;
$custom-light: #e883dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d841cc",
  "rgb": {
    "r": 216,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 304.768,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.64161,
    "c": 0.23724,
    "h": 331.4
  },
  "luminance": 0.22739
}

Semantic roles & 50–950 ramp

primary
#D841CC
secondary
#9BDAA0
accent
#E94C3F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D841CC

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

Preview Lab → · Contrast checker → · Palette generator →

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