#D950ED#D950ED

#D950ED is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.5% C 0.246 H 322.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#D950ED
RGBrgb(217, 80, 237)
HSLhsl(292, 81%, 62%)
HSVhsv(292, 66%, 93%)
CMYKcmyk(8.4%, 66.2%, 0%, 7.1%)
CIE-LABlab(58.61, 73.15, -53.90)
CIE-LCHlch(58.61, 90.86, 323.62°)
OKLaboklab(67.48% 0.1948 -0.1503)
OKLCHoklch(67.48% 0.246 322.3)
XYZxyz(46.7684, 26.6060, 82.7764)
Luminance0.2660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D950ED #64ED50
analogous
#8B50ED #D950ED #ED50B2
triadic
#D950ED #EDD950 #50EDD9
tetradic
#D950ED #ED8B50 #64ED50 #50B2ED
square
#D950ED #ED8B50 #64ED50 #50B2ED
split-complementary
#D950ED #B2ED50 #50ED8B
monochromatic
#9C12B0 #CD19E7 #D950ED #E587F3 #F1BFF8

Accessibility & contrast

On white

3.32
#D950ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#D950ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D950ED
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D950ED#FFFFFF#000000##000000
##D950ED1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2383F2
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#DC6A98
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d950ed;
/* rgb */ color: rgb(217, 80, 237);
/* oklch */ color: oklch(67.5% 0.246 322.3);
Tailwind
colors: {
  custom: {
    50: '#e88bf3',
    500: '#d950ed',
    950: '#000000',
  },
}
SCSS
$custom: #d950ed;
$custom-light: #e88bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#d950ed",
  "rgb": {
    "r": 217,
    "g": 80,
    "b": 237
  },
  "hsl": {
    "h": 292.357,
    "s": 81.347,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67484,
    "c": 0.246,
    "h": 322.3
  },
  "luminance": 0.26603
}

Semantic roles & 50–950 ramp

primary
#D950ED
secondary
#B7E9B0
accent
#DE0823
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D17
muted
#857E85

Preview Lab

Preview with #D950ED

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

Preview Lab → · Contrast checker → · Palette generator →

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