#D841CB#D841CB

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

Color values

HEX#D841CB
RGBrgb(216, 65, 203)
HSLhsl(305, 66%, 55%)
HSVhsv(305, 70%, 85%)
CMYKcmyk(0%, 69.9%, 6%, 15.3%)
CIE-LABlab(54.76, 72.77, -40.79)
CIE-LCHlch(54.76, 83.42, 330.73°)
OKLaboklab(64.11% 0.2082 -0.1122)
OKLCHoklch(64.11% 0.237 331.7)
XYZxyz(40.9887, 22.6946, 58.7100)
Luminance0.2269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D841CB #41D84E
analogous
#9A41D8 #D841CB #D8417F
triadic
#D841CB #CBD841 #41CBD8
tetradic
#D841CB #D89A41 #41D84E #417FD8
square
#D841CB #D89A41 #41D84E #417FD8
split-complementary
#D841CB #7FD841 #41D89A
monochromatic
#841B7B #B625AA #D841CB #E274D9 #EDA7E7

Accessibility & contrast

On white

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

On black

5.54
#D841CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D841CB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D841CB#FFFFFF#000000##000000
##D841CB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3775CF
Deuteranopia (green-blind)
#708BC7
Tritanopia (blue-blind)
#E15281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d841cb;
/* rgb */ color: rgb(216, 65, 203);
/* oklch */ color: oklch(64.1% 0.237 331.7);
Tailwind
colors: {
  custom: {
    50: '#e883db',
    500: '#d841cb',
    950: '#000000',
  },
}
SCSS
$custom: #d841cb;
$custom-light: #e883db;
$custom-dark: #000000;
JSON
{
  "hex": "#d841cb",
  "rgb": {
    "r": 216,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 305.166,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.64109,
    "c": 0.23652,
    "h": 331.7
  },
  "luminance": 0.22691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D841CB

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

Preview Lab → · Contrast checker → · Palette generator →

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