#D951DF#D951DF

#D951DF is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.8% C 0.233 H 326.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#D951DF
RGBrgb(217, 81, 223)
HSLhsl(297, 69%, 60%)
HSVhsv(297, 64%, 87%)
CMYKcmyk(2.7%, 63.7%, 0%, 12.5%)
CIE-LABlab(58.01, 70.35, -47.01)
CIE-LCHlch(58.01, 84.61, 326.25°)
OKLaboklab(66.81% 0.1935 -0.1302)
OKLCHoklch(66.81% 0.233 326.1)
XYZxyz(44.8761, 25.9671, 72.4462)
Luminance0.2596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951DF #57DF51
analogous
#9251DF #D951DF #DF519E
triadic
#D951DF #DFD951 #51DFD9
tetradic
#D951DF #DF9251 #57DF51 #519EDF
square
#D951DF #DF9251 #57DF51 #519EDF
split-complementary
#D951DF #9EDF51 #51DF92
monochromatic
#941C99 #C626CD #D951DF #E485E9 #F0B8F2

Accessibility & contrast

On white

3.39
#D951DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#D951DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951DF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951DF#FFFFFF#000000##000000
##D951DF1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E3
Deuteranopia (green-blind)
#6F91DB
Tritanopia (blue-blind)
#DE6591
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d951df;
/* rgb */ color: rgb(217, 81, 223);
/* oklch */ color: oklch(66.8% 0.233 326.1);
Tailwind
colors: {
  custom: {
    50: '#e88be9',
    500: '#d951df',
    950: '#000000',
  },
}
SCSS
$custom: #d951df;
$custom-light: #e88be9;
$custom-dark: #000000;
JSON
{
  "hex": "#d951df",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 297.465,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6681,
    "c": 0.23324,
    "h": 326.1
  },
  "luminance": 0.25964
}

Semantic roles & 50–950 ramp

primary
#D951DF
secondary
#ADE1AA
accent
#EC3C43
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D951DF

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

Preview Lab → · Contrast checker → · Palette generator →

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