#D958DD#D958DD

#D958DD is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.4% C 0.222 H 326.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#D958DD
RGBrgb(217, 88, 221)
HSLhsl(298, 66%, 61%)
HSVhsv(298, 60%, 87%)
CMYKcmyk(1.8%, 60.2%, 0%, 13.3%)
CIE-LABlab(58.93, 67.16, -44.42)
CIE-LCHlch(58.93, 80.52, 326.52°)
OKLaboklab(67.45% 0.1854 -0.1228)
OKLCHoklch(67.45% 0.222 326.5)
XYZxyz(45.1553, 26.9544, 71.2169)
Luminance0.2695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D958DD #5CDD58
analogous
#9658DD #D958DD #DD589F
triadic
#D958DD #DDD958 #58DDD9
tetradic
#D958DD #DD9658 #5CDD58 #589FDD
square
#D958DD #DD9658 #5CDD58 #589FDD
split-complementary
#D958DD #9FDD58 #58DD96
monochromatic
#97209B #C92ACE #D958DD #E58BE7 #F0BEF2

Accessibility & contrast

On white

3.29
#D958DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#D958DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D958DD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D958DD#FFFFFF#000000##000000
##D958DD1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E1
Deuteranopia (green-blind)
#7494D9
Tritanopia (blue-blind)
#DF6A93
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d958dd;
/* rgb */ color: rgb(217, 88, 221);
/* oklch */ color: oklch(67.4% 0.222 326.5);
Tailwind
colors: {
  custom: {
    50: '#e88fe8',
    500: '#d958dd',
    950: '#000000',
  },
}
SCSS
$custom: #d958dd;
$custom-light: #e88fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#d958dd",
  "rgb": {
    "r": 217,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 298.195,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.67449,
    "c": 0.22239,
    "h": 326.5
  },
  "luminance": 0.26952
}

Semantic roles & 50–950 ramp

primary
#D958DD
secondary
#B1E2AF
accent
#CE171D
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D958DD

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

Preview Lab → · Contrast checker → · Palette generator →

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