#D950D5#D950D5

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

Color values

HEX#D950D5
RGBrgb(217, 80, 213)
HSLhsl(302, 64%, 58%)
HSVhsv(302, 63%, 85%)
CMYKcmyk(0%, 63.1%, 1.8%, 14.9%)
CIE-LABlab(57.36, 69.08, -42.37)
CIE-LCHlch(57.36, 81.04, 328.48°)
OKLaboklab(66.18% 0.1941 -0.1168)
OKLCHoklch(66.18% 0.227 329)
XYZxyz(43.4937, 25.2961, 65.5297)
Luminance0.2529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D950D5 #50D954
analogous
#9850D9 #D950D5 #D95090
triadic
#D950D5 #D5D950 #50D5D9
tetradic
#D950D5 #D99850 #50D954 #5090D9
square
#D950D5 #D99850 #50D954 #5090D9
split-complementary
#D950D5 #90D950 #50D998
monochromatic
#8F1F8C #C22ABD #D950D5 #E482E1 #EFB5ED

Accessibility & contrast

On white

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

On black

6.06
#D950D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D950D5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D950D5#FFFFFF#000000##000000
##D950D51.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#427ED9
Deuteranopia (green-blind)
#7390D1
Tritanopia (blue-blind)
#E0618C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d950d5;
/* rgb */ color: rgb(217, 80, 213);
/* oklch */ color: oklch(66.2% 0.227 329.0);
Tailwind
colors: {
  custom: {
    50: '#e88ae2',
    500: '#d950d5',
    950: '#000000',
  },
}
SCSS
$custom: #d950d5;
$custom-light: #e88ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#d950d5",
  "rgb": {
    "r": 217,
    "g": 80,
    "b": 213
  },
  "hsl": {
    "h": 301.752,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.66182,
    "c": 0.22652,
    "h": 329
  },
  "luminance": 0.25293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D950D5

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

Preview Lab → · Contrast checker → · Palette generator →

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