#D94ED2#D94ED2

#D94ED2 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.8% C 0.227 H 329.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D94ED2
RGBrgb(217, 78, 210)
HSLhsl(303, 65%, 58%)
HSVhsv(303, 64%, 85%)
CMYKcmyk(0%, 64.1%, 3.2%, 14.9%)
CIE-LABlab(56.94, 69.38, -41.34)
CIE-LCHlch(56.94, 80.76, 329.21°)
OKLaboklab(65.83% 0.1961 -0.1138)
OKLCHoklch(65.83% 0.227 329.9)
XYZxyz(42.9722, 24.8567, 63.4948)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94ED2 #4ED955
analogous
#9B4ED9 #D94ED2 #D94E8C
triadic
#D94ED2 #D2D94E #4ED2D9
tetradic
#D94ED2 #D99B4E #4ED955 #4E8CD9
square
#D94ED2 #D99B4E #4ED955 #4E8CD9
split-complementary
#D94ED2 #8CD94E #4ED99B
monochromatic
#8E1F88 #C029B9 #D94ED2 #E480DF #EFB3EC

Accessibility & contrast

On white

3.52
#D94ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D94ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94ED2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94ED2#FFFFFF#000000##000000
##D94ED21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#427CD6
Deuteranopia (green-blind)
#748FCE
Tritanopia (blue-blind)
#E15E89
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d94ed2;
/* rgb */ color: rgb(217, 78, 210);
/* oklch */ color: oklch(65.8% 0.227 329.9);
Tailwind
colors: {
  custom: {
    50: '#e889e0',
    500: '#d94ed2',
    950: '#000000',
  },
}
SCSS
$custom: #d94ed2;
$custom-light: #e889e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d94ed2",
  "rgb": {
    "r": 217,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 303.022,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.65825,
    "c": 0.22674,
    "h": 329.9
  },
  "luminance": 0.24854
}

Semantic roles & 50–950 ramp

primary
#D94ED2
secondary
#A6DDA8
accent
#E84940
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D94ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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