#D951CF#D951CF

#D951CF is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.0% C 0.221 H 330.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#D951CF
RGBrgb(217, 81, 207)
HSLhsl(304, 64%, 58%)
HSVhsv(304, 63%, 85%)
CMYKcmyk(0%, 62.7%, 4.6%, 14.9%)
CIE-LABlab(57.22, 67.71, -39.19)
CIE-LCHlch(57.22, 78.24, 329.94°)
OKLaboklab(65.98% 0.1925 -0.1077)
OKLCHoklch(65.98% 0.221 330.8)
XYZxyz(42.8200, 25.1447, 61.6175)
Luminance0.2514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951CF #51D95B
analogous
#9F51D9 #D951CF #D9518B
triadic
#D951CF #CFD951 #51CFD9
tetradic
#D951CF #D99F51 #51D95B #518BD9
square
#D951CF #D99F51 #51D95B #518BD9
split-complementary
#D951CF #8BD951 #51D99F
monochromatic
#901F88 #C22AB7 #D951CF #E483DD #EFB5EB

Accessibility & contrast

On white

3.48
#D951CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#D951CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951CF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951CF#FFFFFF#000000##000000
##D951CF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD3
Deuteranopia (green-blind)
#7790CB
Tritanopia (blue-blind)
#E15F89
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d951cf;
/* rgb */ color: rgb(217, 81, 207);
/* oklch */ color: oklch(66.0% 0.221 330.8);
Tailwind
colors: {
  custom: {
    50: '#e88bde',
    500: '#d951cf',
    950: '#000000',
  },
}
SCSS
$custom: #d951cf;
$custom-light: #e88bde;
$custom-dark: #000000;
JSON
{
  "hex": "#d951cf",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 304.412,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65982,
    "c": 0.22053,
    "h": 330.8
  },
  "luminance": 0.25142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D951CF

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

Preview Lab → · Contrast checker → · Palette generator →

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