#D950F2#D950F2

#D950F2 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.8% C 0.250 H 321.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#D950F2
RGBrgb(217, 80, 242)
HSLhsl(291, 86%, 63%)
HSVhsv(291, 67%, 95%)
CMYKcmyk(10.3%, 66.9%, 0%, 5.1%)
CIE-LABlab(58.88, 74.04, -56.25)
CIE-LCHlch(58.88, 92.98, 322.77°)
OKLaboklab(67.77% 0.1947 -0.1571)
OKLCHoklch(67.77% 0.25 321.1)
XYZxyz(47.5091, 26.9023, 86.6774)
Luminance0.2690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D950F2 #69F250
analogous
#8850F2 #D950F2 #F250BA
triadic
#D950F2 #F2D950 #50F2D9
tetradic
#D950F2 #F28850 #69F250 #50BAF2
square
#D950F2 #F28850 #69F250 #50BAF2
split-complementary
#D950F2 #BAF250 #50F288
monochromatic
#9F0EBA #CD17EE #D950F2 #E589F6 #F2C2FA

Accessibility & contrast

On white

3.29
#D950F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#D950F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D950F2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D950F2#FFFFFF#000000##000000
##D950F21.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1684F7
Deuteranopia (green-blind)
#6293EE
Tritanopia (blue-blind)
#DB6C9B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d950f2;
/* rgb */ color: rgb(217, 80, 242);
/* oklch */ color: oklch(67.8% 0.250 321.1);
Tailwind
colors: {
  custom: {
    50: '#e98bf7',
    500: '#d950f2',
    950: '#000000',
  },
}
SCSS
$custom: #d950f2;
$custom-light: #e98bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d950f2",
  "rgb": {
    "r": 217,
    "g": 80,
    "b": 242
  },
  "hsl": {
    "h": 290.741,
    "s": 86.17,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67771,
    "c": 0.25017,
    "h": 321.1
  },
  "luminance": 0.269
}

Semantic roles & 50–950 ramp

primary
#D950F2
secondary
#BBECB2
accent
#E30325
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #D950F2

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

Preview Lab → · Contrast checker → · Palette generator →

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