#D958F9#D958F9

#D958F9 is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 69.0% C 0.246 H 319.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#D958F9
RGBrgb(217, 88, 249)
HSLhsl(288, 93%, 66%)
HSVhsv(288, 65%, 98%)
CMYKcmyk(12.9%, 64.7%, 0%, 2.4%)
CIE-LABlab(60.40, 72.14, -57.71)
CIE-LCHlch(60.40, 92.39, 321.34°)
OKLaboklab(68.99% 0.1861 -0.1614)
OKLCHoklch(68.99% 0.246 319.1)
XYZxyz(49.2016, 28.5729, 92.5276)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D958F9 #78F958
analogous
#8858F9 #D958F9 #F958C8
triadic
#D958F9 #F9D958 #58F9D9
tetradic
#D958F9 #F98858 #78F958 #58C8F9
square
#D958F9 #F98858 #78F958 #58C8F9
split-complementary
#D958F9 #C8F958 #58F988
monochromatic
#A707CF #CC1DF7 #D958F9 #E693FB #F4CEFD

Accessibility & contrast

On white

3.13
#D958F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#D958F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D958F9
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D958F9#FFFFFF#000000##000000
##D958F91.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2089FE
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#D974A1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d958f9;
/* rgb */ color: rgb(217, 88, 249);
/* oklch */ color: oklch(69.0% 0.246 319.1);
Tailwind
colors: {
  custom: {
    50: '#e890fc',
    500: '#d958f9',
    950: '#000000',
  },
}
SCSS
$custom: #d958f9;
$custom-light: #e890fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d958f9",
  "rgb": {
    "r": 217,
    "g": 88,
    "b": 249
  },
  "hsl": {
    "h": 288.075,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68989,
    "c": 0.24636,
    "h": 319.1
  },
  "luminance": 0.28571
}

Semantic roles & 50–950 ramp

primary
#D958F9
secondary
#C6F1BC
accent
#E6002E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #D958F9

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

Preview Lab → · Contrast checker → · Palette generator →

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