#D94DD2#D94DD2

#D94DD2 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.7% C 0.228 H 329.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#D94DD2
RGBrgb(217, 77, 210)
HSLhsl(303, 65%, 58%)
HSVhsv(303, 65%, 85%)
CMYKcmyk(0%, 64.5%, 3.2%, 14.9%)
CIE-LABlab(56.80, 69.76, -41.56)
CIE-LCHlch(56.80, 81.20, 329.22°)
OKLaboklab(65.72% 0.1972 -0.1144)
OKLCHoklch(65.72% 0.228 329.9)
XYZxyz(42.9017, 24.7157, 63.4713)
Luminance0.2471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94DD2 #4DD954
analogous
#9A4DD9 #D94DD2 #D94D8C
triadic
#D94DD2 #D2D94D #4DD2D9
tetradic
#D94DD2 #D99A4D #4DD954 #4D8CD9
square
#D94DD2 #D99A4D #4DD954 #4D8CD9
split-complementary
#D94DD2 #8CD94D #4DD99A
monochromatic
#8D1E88 #C029B8 #D94DD2 #E47FDF #EFB2EC

Accessibility & contrast

On white

3.53
#D94DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#D94DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94DD2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94DD2#FFFFFF#000000##000000
##D94DD21.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD6
Deuteranopia (green-blind)
#738FCE
Tritanopia (blue-blind)
#E15D89
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d94dd2;
/* rgb */ color: rgb(217, 77, 210);
/* oklch */ color: oklch(65.7% 0.228 329.9);
Tailwind
colors: {
  custom: {
    50: '#e889e0',
    500: '#d94dd2',
    950: '#000000',
  },
}
SCSS
$custom: #d94dd2;
$custom-light: #e889e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d94dd2",
  "rgb": {
    "r": 217,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 303,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65725,
    "c": 0.228,
    "h": 329.9
  },
  "luminance": 0.24713
}

Semantic roles & 50–950 ramp

primary
#D94DD2
secondary
#A5DDA8
accent
#E84840
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D94DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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