#D950F7#D950F7

#D950F7 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 68.1% C 0.254 H 319.9°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#D950F7
RGBrgb(217, 80, 247)
HSLhsl(289, 91%, 64%)
HSVhsv(289, 68%, 97%)
CMYKcmyk(12.1%, 67.6%, 0%, 3.1%)
CIE-LABlab(59.17, 74.93, -58.58)
CIE-LCHlch(59.17, 95.11, 321.98°)
OKLaboklab(68.06% 0.1945 -0.1639)
OKLCHoklch(68.06% 0.254 319.9)
XYZxyz(48.2703, 27.2068, 90.6865)
Luminance0.2720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D950F7 #6EF750
analogous
#8650F7 #D950F7 #F750C1
triadic
#D950F7 #F7D950 #50F7D9
tetradic
#D950F7 #F78650 #6EF750 #50C1F7
square
#D950F7 #F78650 #6EF750 #50C1F7
split-complementary
#D950F7 #C1F750 #50F786
monochromatic
#A209C4 #CC15F4 #D950F7 #E68BFA #F2C5FC

Accessibility & contrast

On white

3.26
#D950F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#D950F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D950F7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D950F7#FFFFFF#000000##000000
##D950F71.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FC
Deuteranopia (green-blind)
#5E93F3
Tritanopia (blue-blind)
#DA6F9E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d950f7;
/* rgb */ color: rgb(217, 80, 247);
/* oklch */ color: oklch(68.1% 0.254 319.9);
Tailwind
colors: {
  custom: {
    50: '#e98bfa',
    500: '#d950f7',
    950: '#000000',
  },
}
SCSS
$custom: #d950f7;
$custom-light: #e98bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d950f7",
  "rgb": {
    "r": 217,
    "g": 80,
    "b": 247
  },
  "hsl": {
    "h": 289.222,
    "s": 91.257,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68063,
    "c": 0.25437,
    "h": 319.9
  },
  "luminance": 0.27204
}

Semantic roles & 50–950 ramp

primary
#D950F7
secondary
#BFEFB4
accent
#E60029
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #D950F7

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

Preview Lab → · Contrast checker → · Palette generator →

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