#D951D9#D951D9

#D951D9 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.5% C 0.228 H 327.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#D951D9
RGBrgb(217, 81, 217)
HSLhsl(300, 64%, 58%)
HSVhsv(300, 63%, 85%)
CMYKcmyk(0%, 62.7%, 0%, 14.9%)
CIE-LABlab(57.70, 69.34, -44.10)
CIE-LCHlch(57.70, 82.18, 327.55°)
OKLaboklab(66.49% 0.1932 -0.1218)
OKLCHoklch(66.49% 0.228 327.8)
XYZxyz(44.0815, 25.6493, 68.2612)
Luminance0.2565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951D9 #51D951
analogous
#9551D9 #D951D9 #D95195
triadic
#D951D9 #D9D951 #51D9D9
tetradic
#D951D9 #D99551 #51D951 #5195D9
square
#D951D9 #D99551 #51D951 #5195D9
split-complementary
#D951D9 #95D951 #51D995
monochromatic
#901F90 #C22AC2 #D951D9 #E483E4 #EFB5EF

Accessibility & contrast

On white

3.43
#D951D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#D951D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951D9
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951D9#FFFFFF#000000##000000
##D951D91.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7FDD
Deuteranopia (green-blind)
#7291D5
Tritanopia (blue-blind)
#DF638E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d951d9;
/* rgb */ color: rgb(217, 81, 217);
/* oklch */ color: oklch(66.5% 0.228 327.8);
Tailwind
colors: {
  custom: {
    50: '#e88be5',
    500: '#d951d9',
    950: '#000000',
  },
}
SCSS
$custom: #d951d9;
$custom-light: #e88be5;
$custom-dark: #000000;
JSON
{
  "hex": "#d951d9",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 300,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66493,
    "c": 0.2284,
    "h": 327.8
  },
  "luminance": 0.25646
}

Semantic roles & 50–950 ramp

primary
#D951D9
secondary
#A8DEA8
accent
#E74141
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D951D9

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

Preview Lab → · Contrast checker → · Palette generator →

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