#D950D8#D950D8

#D950D8 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.3% C 0.229 H 328.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#D950D8
RGBrgb(217, 80, 216)
HSLhsl(300, 64%, 58%)
HSVhsv(300, 63%, 85%)
CMYKcmyk(0%, 63.1%, 0.5%, 14.9%)
CIE-LABlab(57.51, 69.57, -43.84)
CIE-LCHlch(57.51, 82.23, 327.79°)
OKLaboklab(66.34% 0.1943 -0.121)
OKLCHoklch(66.34% 0.229 328.1)
XYZxyz(43.8780, 25.4499, 67.5537)
Luminance0.2545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D950D8 #50D951
analogous
#9550D9 #D950D8 #D95093
triadic
#D950D8 #D8D950 #50D8D9
tetradic
#D950D8 #D99550 #50D951 #5093D9
square
#D950D8 #D99550 #50D951 #5093D9
split-complementary
#D950D8 #93D950 #50D995
monochromatic
#8F1F8F #C22AC1 #D950D8 #E482E3 #EFB5EE

Accessibility & contrast

On white

3.45
#D950D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#D950D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D950D8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D950D8#FFFFFF#000000##000000
##D950D81.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7FDC
Deuteranopia (green-blind)
#7290D4
Tritanopia (blue-blind)
#E0628D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d950d8;
/* rgb */ color: rgb(217, 80, 216);
/* oklch */ color: oklch(66.3% 0.229 328.1);
Tailwind
colors: {
  custom: {
    50: '#e88ae4',
    500: '#d950d8',
    950: '#000000',
  },
}
SCSS
$custom: #d950d8;
$custom-light: #e88ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#d950d8",
  "rgb": {
    "r": 217,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 300.438,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.66338,
    "c": 0.22889,
    "h": 328.1
  },
  "luminance": 0.25447
}

Semantic roles & 50–950 ramp

primary
#D950D8
secondary
#A7DEA8
accent
#E74240
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D950D8

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

Preview Lab → · Contrast checker → · Palette generator →

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