#D841C2#D841C2

#D841C2 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.7% C 0.230 H 334.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#D841C2
RGBrgb(216, 65, 194)
HSLhsl(309, 66%, 55%)
HSVhsv(309, 70%, 85%)
CMYKcmyk(0%, 69.9%, 10.2%, 15.3%)
CIE-LABlab(54.32, 71.42, -36.31)
CIE-LCHlch(54.32, 80.12, 333.05°)
OKLaboklab(63.65% 0.2076 -0.0992)
OKLCHoklch(63.65% 0.23 334.4)
XYZxyz(39.9472, 22.2780, 53.2246)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D841C2 #41D857
analogous
#A341D8 #D841C2 #D84176
triadic
#D841C2 #C2D841 #41C2D8
tetradic
#D841C2 #D8A341 #41D857 #4176D8
square
#D841C2 #D8A341 #41D857 #4176D8
split-complementary
#D841C2 #76D841 #41D8A3
monochromatic
#841B74 #B625A1 #D841C2 #E274D2 #EDA7E3

Accessibility & contrast

On white

3.85
#D841C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#D841C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D841C2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D841C2#FFFFFF#000000##000000
##D841C21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C6
Deuteranopia (green-blind)
#748ABE
Tritanopia (blue-blind)
#E24D7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d841c2;
/* rgb */ color: rgb(216, 65, 194);
/* oklch */ color: oklch(63.7% 0.230 334.4);
Tailwind
colors: {
  custom: {
    50: '#e882d5',
    500: '#d841c2',
    950: '#000000',
  },
}
SCSS
$custom: #d841c2;
$custom-light: #e882d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d841c2",
  "rgb": {
    "r": 216,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 308.742,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63653,
    "c": 0.23009,
    "h": 334.4
  },
  "luminance": 0.22275
}

Semantic roles & 50–950 ramp

primary
#D841C2
secondary
#9BDAA4
accent
#E9583F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D841C2

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

Preview Lab → · Contrast checker → · Palette generator →

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