#D954FF#D954FF

#D954FF is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.9% C 0.256 H 317.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#D954FF
RGBrgb(217, 84, 255)
HSLhsl(287, 100%, 66%)
HSVhsv(287, 67%, 100%)
CMYKcmyk(14.9%, 67.1%, 0%, 0%)
CIE-LABlab(60.17, 74.85, -61.39)
CIE-LCHlch(60.17, 96.81, 320.64°)
OKLaboklab(68.93% 0.1901 -0.1722)
OKLCHoklch(68.93% 0.256 317.8)
XYZxyz(49.8330, 28.3145, 97.4286)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D954FF #7AFF54
analogous
#8454FF #D954FF #FF54CF
triadic
#D954FF #FFD954 #54FFD9
tetradic
#D954FF #FF8454 #7AFF54 #54CFFF
square
#D954FF #FF8454 #7AFF54 #54CFFF
split-complementary
#D954FF #CFFF54 #54FF84
monochromatic
#A800D9 #CB17FF #D954FF #E791FF #F4CEFF

Accessibility & contrast

On white

3.15
#D954FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#D954FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D954FF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D954FF#FFFFFF#000000##000000
##D954FF1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#D874A3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d954ff;
/* rgb */ color: rgb(217, 84, 255);
/* oklch */ color: oklch(68.9% 0.256 317.8);
Tailwind
colors: {
  custom: {
    50: '#e98eff',
    500: '#d954ff',
    950: '#000000',
  },
}
SCSS
$custom: #d954ff;
$custom-light: #e98eff;
$custom-dark: #000000;
JSON
{
  "hex": "#d954ff",
  "rgb": {
    "r": 217,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 286.667,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68932,
    "c": 0.25649,
    "h": 317.8
  },
  "luminance": 0.28312
}

Semantic roles & 50–950 ramp

primary
#D954FF
secondary
#C8F3BC
accent
#E60033
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #D954FF

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

Preview Lab → · Contrast checker → · Palette generator →

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