#D841C7#D841C7

#D841C7 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.9% C 0.234 H 332.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#D841C7
RGBrgb(216, 65, 199)
HSLhsl(307, 66%, 55%)
HSVhsv(307, 70%, 85%)
CMYKcmyk(0%, 69.9%, 7.9%, 15.3%)
CIE-LABlab(54.56, 72.17, -38.81)
CIE-LCHlch(54.56, 81.94, 331.73°)
OKLaboklab(63.9% 0.208 -0.1064)
OKLCHoklch(63.9% 0.234 332.9)
XYZxyz(40.5182, 22.5064, 56.2319)
Luminance0.2250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D841C7 #41D852
analogous
#9E41D8 #D841C7 #D8417B
triadic
#D841C7 #C7D841 #41C7D8
tetradic
#D841C7 #D89E41 #41D852 #417BD8
square
#D841C7 #D89E41 #41D852 #417BD8
split-complementary
#D841C7 #7BD841 #41D89E
monochromatic
#841B78 #B625A6 #D841C7 #E274D6 #EDA7E5

Accessibility & contrast

On white

3.82
#D841C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#D841C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D841C7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D841C7#FFFFFF#000000##000000
##D841C71.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CB
Deuteranopia (green-blind)
#728AC3
Tritanopia (blue-blind)
#E1507F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d841c7;
/* rgb */ color: rgb(216, 65, 199);
/* oklch */ color: oklch(63.9% 0.234 332.9);
Tailwind
colors: {
  custom: {
    50: '#e883d8',
    500: '#d841c7',
    950: '#000000',
  },
}
SCSS
$custom: #d841c7;
$custom-light: #e883d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d841c7",
  "rgb": {
    "r": 216,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 306.755,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63904,
    "c": 0.23363,
    "h": 332.9
  },
  "luminance": 0.22503
}

Semantic roles & 50–950 ramp

primary
#D841C7
secondary
#9BDAA2
accent
#E9523F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D841C7

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

Preview Lab → · Contrast checker → · Palette generator →

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