#D950F5#D950F5

#D950F5 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.9% C 0.253 H 320.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#D950F5
RGBrgb(217, 80, 245)
HSLhsl(290, 89%, 64%)
HSVhsv(290, 67%, 96%)
CMYKcmyk(11.4%, 67.3%, 0%, 3.9%)
CIE-LABlab(59.05, 74.57, -57.65)
CIE-LCHlch(59.05, 94.26, 322.29°)
OKLaboklab(67.95% 0.1946 -0.1612)
OKLCHoklch(67.95% 0.253 320.4)
XYZxyz(47.9634, 27.0840, 89.0698)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D950F5 #6CF550
analogous
#8650F5 #D950F5 #F550BE
triadic
#D950F5 #F5D950 #50F5D9
tetradic
#D950F5 #F58650 #6CF550 #50BEF5
square
#D950F5 #F58650 #6CF550 #50BEF5
split-complementary
#D950F5 #BEF550 #50F586
monochromatic
#A10BC0 #CC16F2 #D950F5 #E68AF8 #F2C4FC

Accessibility & contrast

On white

3.27
#D950F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#D950F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D950F5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D950F5#FFFFFF#000000##000000
##D950F51.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A85FA
Deuteranopia (green-blind)
#6093F1
Tritanopia (blue-blind)
#DA6E9D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d950f5;
/* rgb */ color: rgb(217, 80, 245);
/* oklch */ color: oklch(67.9% 0.253 320.4);
Tailwind
colors: {
  custom: {
    50: '#e98bf9',
    500: '#d950f5',
    950: '#000000',
  },
}
SCSS
$custom: #d950f5;
$custom-light: #e98bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#d950f5",
  "rgb": {
    "r": 217,
    "g": 80,
    "b": 245
  },
  "hsl": {
    "h": 289.818,
    "s": 89.189,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67946,
    "c": 0.25269,
    "h": 320.4
  },
  "luminance": 0.27082
}

Semantic roles & 50–950 ramp

primary
#D950F5
secondary
#BDEDB3
accent
#E60027
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #D950F5

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

Preview Lab → · Contrast checker → · Palette generator →

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