#D94DC2#D94DC2

#D94DC2 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.9% C 0.216 H 334.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D94DC2
RGBrgb(217, 77, 194)
HSLhsl(310, 65%, 58%)
HSVhsv(310, 65%, 85%)
CMYKcmyk(0%, 64.5%, 10.6%, 14.9%)
CIE-LABlab(56.05, 67.27, -33.60)
CIE-LCHlch(56.05, 75.19, 333.46°)
OKLaboklab(64.93% 0.1957 -0.0916)
OKLCHoklch(64.93% 0.216 334.9)
XYZxyz(41.0071, 23.9579, 53.4930)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94DC2 #4DD964
analogous
#AA4DD9 #D94DC2 #D94D7C
triadic
#D94DC2 #C2D94D #4DC2D9
tetradic
#D94DC2 #D9AA4D #4DD964 #4D7CD9
square
#D94DC2 #D9AA4D #4DD964 #4D7CD9
split-complementary
#D94DC2 #7CD94D #4DD9AA
monochromatic
#8D1E7B #C029A7 #D94DC2 #E47FD3 #EFB2E5

Accessibility & contrast

On white

3.63
#D94DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#D94DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94DC2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94DC2#FFFFFF#000000##000000
##D94DC21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#7A8EBE
Tritanopia (blue-blind)
#E35781
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d94dc2;
/* rgb */ color: rgb(217, 77, 194);
/* oklch */ color: oklch(64.9% 0.216 334.9);
Tailwind
colors: {
  custom: {
    50: '#e888d5',
    500: '#d94dc2',
    950: '#000000',
  },
}
SCSS
$custom: #d94dc2;
$custom-light: #e888d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d94dc2",
  "rgb": {
    "r": 217,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 309.857,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64934,
    "c": 0.21602,
    "h": 334.9
  },
  "luminance": 0.23955
}

Semantic roles & 50–950 ramp

primary
#D94DC2
secondary
#A5DDAE
accent
#E85C40
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D94DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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