#D950D2#D950D2

#D950D2 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.0% C 0.224 H 329.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#D950D2
RGBrgb(217, 80, 210)
HSLhsl(303, 64%, 58%)
HSVhsv(303, 63%, 85%)
CMYKcmyk(0%, 63.1%, 3.2%, 14.9%)
CIE-LABlab(57.22, 68.59, -40.90)
CIE-LCHlch(57.22, 79.86, 329.19°)
OKLaboklab(66.03% 0.1939 -0.1126)
OKLCHoklch(66.03% 0.224 329.9)
XYZxyz(43.1165, 25.1452, 63.5428)
Luminance0.2514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D950D2 #50D957
analogous
#9B50D9 #D950D2 #D9508D
triadic
#D950D2 #D2D950 #50D2D9
tetradic
#D950D2 #D99B50 #50D957 #508DD9
square
#D950D2 #D99B50 #50D957 #508DD9
split-complementary
#D950D2 #8DD950 #50D99B
monochromatic
#8F1F8A #C22ABA #D950D2 #E482DF #EFB5EC

Accessibility & contrast

On white

3.48
#D950D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#D950D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D950D2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D950D2#FFFFFF#000000##000000
##D950D21.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD6
Deuteranopia (green-blind)
#7590CE
Tritanopia (blue-blind)
#E15F8A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d950d2;
/* rgb */ color: rgb(217, 80, 210);
/* oklch */ color: oklch(66.0% 0.224 329.9);
Tailwind
colors: {
  custom: {
    50: '#e88ae0',
    500: '#d950d2',
    950: '#000000',
  },
}
SCSS
$custom: #d950d2;
$custom-light: #e88ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#d950d2",
  "rgb": {
    "r": 217,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 303.066,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.66029,
    "c": 0.22417,
    "h": 329.9
  },
  "luminance": 0.25142
}

Semantic roles & 50–950 ramp

primary
#D950D2
secondary
#A7DEAA
accent
#E74940
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D950D2

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

Preview Lab → · Contrast checker → · Palette generator →

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