#D950D4#D950D4

#D950D4 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.1% C 0.226 H 329.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#D950D4
RGBrgb(217, 80, 212)
HSLhsl(302, 64%, 58%)
HSVhsv(302, 63%, 85%)
CMYKcmyk(0%, 63.1%, 2.3%, 14.9%)
CIE-LABlab(57.31, 68.92, -41.88)
CIE-LCHlch(57.31, 80.65, 328.71°)
OKLaboklab(66.13% 0.194 -0.1154)
OKLCHoklch(66.13% 0.226 329.3)
XYZxyz(43.3672, 25.2455, 64.8633)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D950D4 #50D955
analogous
#9950D9 #D950D4 #D9508F
triadic
#D950D4 #D4D950 #50D4D9
tetradic
#D950D4 #D99950 #50D955 #508FD9
square
#D950D4 #D99950 #50D955 #508FD9
split-complementary
#D950D4 #8FD950 #50D999
monochromatic
#8F1F8B #C22ABC #D950D4 #E482E0 #EFB5ED

Accessibility & contrast

On white

3.47
#D950D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#D950D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D950D4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D950D4#FFFFFF#000000##000000
##D950D41.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#427ED8
Deuteranopia (green-blind)
#7490D0
Tritanopia (blue-blind)
#E0608B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d950d4;
/* rgb */ color: rgb(217, 80, 212);
/* oklch */ color: oklch(66.1% 0.226 329.3);
Tailwind
colors: {
  custom: {
    50: '#e88ae1',
    500: '#d950d4',
    950: '#000000',
  },
}
SCSS
$custom: #d950d4;
$custom-light: #e88ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#d950d4",
  "rgb": {
    "r": 217,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 302.19,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.66131,
    "c": 0.22573,
    "h": 329.3
  },
  "luminance": 0.25243
}

Semantic roles & 50–950 ramp

primary
#D950D4
secondary
#A7DEA9
accent
#E74740
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D950D4

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

Preview Lab → · Contrast checker → · Palette generator →

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