#D94DD4#D94DD4

#D94DD4 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.8% C 0.230 H 329.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#D94DD4
RGBrgb(217, 77, 212)
HSLhsl(302, 65%, 58%)
HSVhsv(302, 65%, 85%)
CMYKcmyk(0%, 64.5%, 2.3%, 14.9%)
CIE-LABlab(56.90, 70.08, -42.54)
CIE-LCHlch(56.90, 81.98, 328.74°)
OKLaboklab(65.83% 0.1973 -0.1173)
OKLCHoklch(65.83% 0.23 329.3)
XYZxyz(43.1524, 24.8160, 64.7917)
Luminance0.2481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94DD4 #4DD952
analogous
#984DD9 #D94DD4 #D94D8E
triadic
#D94DD4 #D4D94D #4DD4D9
tetradic
#D94DD4 #D9984D #4DD952 #4D8ED9
square
#D94DD4 #D9984D #4DD952 #4D8ED9
split-complementary
#D94DD4 #8ED94D #4DD998
monochromatic
#8D1E89 #C029BA #D94DD4 #E47FE0 #EFB2EC

Accessibility & contrast

On white

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

On black

5.96
#D94DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94DD4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94DD4#FFFFFF#000000##000000
##D94DD41.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7CD8
Deuteranopia (green-blind)
#728FD0
Tritanopia (blue-blind)
#E05E8A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d94dd4;
/* rgb */ color: rgb(217, 77, 212);
/* oklch */ color: oklch(65.8% 0.230 329.3);
Tailwind
colors: {
  custom: {
    50: '#e889e1',
    500: '#d94dd4',
    950: '#000000',
  },
}
SCSS
$custom: #d94dd4;
$custom-light: #e889e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d94dd4",
  "rgb": {
    "r": 217,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 302.143,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65828,
    "c": 0.22955,
    "h": 329.3
  },
  "luminance": 0.24813
}

Semantic roles & 50–950 ramp

primary
#D94DD4
secondary
#A5DDA7
accent
#E84640
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D94DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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