#D950D6#D950D6

#D950D6 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.2% C 0.227 H 328.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#D950D6
RGBrgb(217, 80, 214)
HSLhsl(301, 64%, 58%)
HSVhsv(301, 63%, 85%)
CMYKcmyk(0%, 63.1%, 1.4%, 14.9%)
CIE-LABlab(57.41, 69.24, -42.86)
CIE-LCHlch(57.41, 81.44, 328.24°)
OKLaboklab(66.23% 0.1941 -0.1182)
OKLCHoklch(66.23% 0.227 328.7)
XYZxyz(43.6211, 25.3471, 66.2002)
Luminance0.2534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D950D6 #50D953
analogous
#9750D9 #D950D6 #D95091
triadic
#D950D6 #D6D950 #50D6D9
tetradic
#D950D6 #D99750 #50D953 #5091D9
square
#D950D6 #D99750 #50D953 #5091D9
split-complementary
#D950D6 #91D950 #50D997
monochromatic
#8F1F8D #C22ABE #D950D6 #E482E2 #EFB5EE

Accessibility & contrast

On white

3.46
#D950D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#D950D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D950D6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D950D6#FFFFFF#000000##000000
##D950D61.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#417EDA
Deuteranopia (green-blind)
#7390D2
Tritanopia (blue-blind)
#E0618C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d950d6;
/* rgb */ color: rgb(217, 80, 214);
/* oklch */ color: oklch(66.2% 0.227 328.7);
Tailwind
colors: {
  custom: {
    50: '#e88ae3',
    500: '#d950d6',
    950: '#000000',
  },
}
SCSS
$custom: #d950d6;
$custom-light: #e88ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#d950d6",
  "rgb": {
    "r": 217,
    "g": 80,
    "b": 214
  },
  "hsl": {
    "h": 301.314,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.66234,
    "c": 0.2273,
    "h": 328.7
  },
  "luminance": 0.25344
}

Semantic roles & 50–950 ramp

primary
#D950D6
secondary
#A7DEA8
accent
#E74440
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D950D6

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

Preview Lab → · Contrast checker → · Palette generator →

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