#D951CE#D951CE

#D951CE is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 65.9% C 0.220 H 331.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#D951CE
RGBrgb(217, 81, 206)
HSLhsl(305, 64%, 58%)
HSVhsv(305, 63%, 85%)
CMYKcmyk(0%, 62.7%, 5.1%, 14.9%)
CIE-LABlab(57.17, 67.55, -38.70)
CIE-LCHlch(57.17, 77.85, 330.19°)
OKLaboklab(65.93% 0.1924 -0.1062)
OKLCHoklch(65.93% 0.22 331.1)
XYZxyz(42.6981, 25.0959, 60.9757)
Luminance0.2509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951CE #51D95C
analogous
#A051D9 #D951CE #D9518A
triadic
#D951CE #CED951 #51CED9
tetradic
#D951CE #D9A051 #51D95C #518AD9
square
#D951CE #D9A051 #51D95C #518AD9
split-complementary
#D951CE #8AD951 #51D9A0
monochromatic
#901F87 #C22AB6 #D951CE #E483DC #EFB5EA

Accessibility & contrast

On white

3.49
#D951CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#D951CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951CE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951CE#FFFFFF#000000##000000
##D951CE1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD2
Deuteranopia (green-blind)
#7790CA
Tritanopia (blue-blind)
#E15F88
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d951ce;
/* rgb */ color: rgb(217, 81, 206);
/* oklch */ color: oklch(65.9% 0.220 331.1);
Tailwind
colors: {
  custom: {
    50: '#e88bdd',
    500: '#d951ce',
    950: '#000000',
  },
}
SCSS
$custom: #d951ce;
$custom-light: #e88bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d951ce",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 304.853,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65932,
    "c": 0.21975,
    "h": 331.1
  },
  "luminance": 0.25093
}

Semantic roles & 50–950 ramp

primary
#D951CE
secondary
#A8DEAC
accent
#E74E41
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D951CE

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

Preview Lab → · Contrast checker → · Palette generator →

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