#D950D7#D950D7

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

Color values

HEX#D950D7
RGBrgb(217, 80, 215)
HSLhsl(301, 64%, 58%)
HSVhsv(301, 63%, 85%)
CMYKcmyk(0%, 63.1%, 0.9%, 14.9%)
CIE-LABlab(57.46, 69.41, -43.35)
CIE-LCHlch(57.46, 81.83, 328.01°)
OKLaboklab(66.29% 0.1942 -0.1196)
OKLCHoklch(66.29% 0.228 328.4)
XYZxyz(43.7491, 25.3983, 66.8749)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D950D7 #50D952
analogous
#9650D9 #D950D7 #D95092
triadic
#D950D7 #D7D950 #50D7D9
tetradic
#D950D7 #D99650 #50D952 #5092D9
square
#D950D7 #D99650 #50D952 #5092D9
split-complementary
#D950D7 #92D950 #50D996
monochromatic
#8F1F8E #C22AC0 #D950D7 #E482E2 #EFB5EE

Accessibility & contrast

On white

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

On black

6.08
#D950D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D950D7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D950D7#FFFFFF#000000##000000
##D950D71.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#407EDB
Deuteranopia (green-blind)
#7290D3
Tritanopia (blue-blind)
#E0618D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d950d7;
/* rgb */ color: rgb(217, 80, 215);
/* oklch */ color: oklch(66.3% 0.228 328.4);
Tailwind
colors: {
  custom: {
    50: '#e88ae4',
    500: '#d950d7',
    950: '#000000',
  },
}
SCSS
$custom: #d950d7;
$custom-light: #e88ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#d950d7",
  "rgb": {
    "r": 217,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 300.876,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.66286,
    "c": 0.2281,
    "h": 328.4
  },
  "luminance": 0.25395
}

Semantic roles & 50–950 ramp

primary
#D950D7
secondary
#A7DEA8
accent
#E74340
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D15
muted
#847D84

Preview Lab

Preview with #D950D7

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

Preview Lab → · Contrast checker → · Palette generator →

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