#D958FD#D958FD

#D958FD is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 69.2% C 0.250 H 318.1°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#D958FD
RGBrgb(217, 88, 253)
HSLhsl(287, 98%, 67%)
HSVhsv(287, 65%, 99%)
CMYKcmyk(14.2%, 65.2%, 0%, 0.8%)
CIE-LABlab(60.63, 72.89, -59.56)
CIE-LCHlch(60.63, 94.13, 320.74°)
OKLaboklab(69.22% 0.186 -0.1669)
OKLCHoklch(69.22% 0.25 318.1)
XYZxyz(49.8322, 28.8251, 95.8484)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D958FD #7CFD58
analogous
#8758FD #D958FD #FD58CF
triadic
#D958FD #FDD958 #58FDD9
tetradic
#D958FD #FD8758 #7CFD58 #58CFFD
square
#D958FD #FD8758 #7CFD58 #58CFFD
split-complementary
#D958FD #CFFD58 #58FD87
monochromatic
#A903D8 #CB1CFC #D958FD #E794FE #F5D1FE

Accessibility & contrast

On white

3.10
#D958FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#D958FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D958FD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D958FD#FFFFFF#000000##000000
##D958FD1.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#148AFF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#D876A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d958fd;
/* rgb */ color: rgb(217, 88, 253);
/* oklch */ color: oklch(69.2% 0.250 318.1);
Tailwind
colors: {
  custom: {
    50: '#e990ff',
    500: '#d958fd',
    950: '#000000',
  },
}
SCSS
$custom: #d958fd;
$custom-light: #e990ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d958fd",
  "rgb": {
    "r": 217,
    "g": 88,
    "b": 253
  },
  "hsl": {
    "h": 286.909,
    "s": 97.633,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69222,
    "c": 0.24988,
    "h": 318.1
  },
  "luminance": 0.28823
}

Semantic roles & 50–950 ramp

primary
#D958FD
secondary
#CAF3BE
accent
#E60032
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #D958FD

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

Preview Lab → · Contrast checker → · Palette generator →

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