#D958F2#D958F2

#D958F2 is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.6% C 0.240 H 320.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#D958F2
RGBrgb(217, 88, 242)
HSLhsl(290, 86%, 65%)
HSVhsv(290, 64%, 95%)
CMYKcmyk(10.3%, 63.6%, 0%, 5.1%)
CIE-LABlab(60.02, 70.86, -54.44)
CIE-LCHlch(60.02, 89.36, 322.47°)
OKLaboklab(68.59% 0.1862 -0.1519)
OKLCHoklch(68.59% 0.24 320.8)
XYZxyz(48.1301, 28.1443, 86.8844)
Luminance0.2814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D958F2 #71F258
analogous
#8C58F2 #D958F2 #F258BE
triadic
#D958F2 #F2D958 #58F2D9
tetradic
#D958F2 #F28C58 #71F258 #58BEF2
square
#D958F2 #F28C58 #71F258 #58BEF2
split-complementary
#D958F2 #BEF258 #58F28C
monochromatic
#A40FC1 #CC1FEE #D958F2 #E691F6 #F3CAFB

Accessibility & contrast

On white

3.17
#D958F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#D958F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D958F2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D958F2#FFFFFF#000000##000000
##D958F21.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D88F7
Deuteranopia (green-blind)
#6795EE
Tritanopia (blue-blind)
#DB729E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d958f2;
/* rgb */ color: rgb(217, 88, 242);
/* oklch */ color: oklch(68.6% 0.240 320.8);
Tailwind
colors: {
  custom: {
    50: '#e88ff7',
    500: '#d958f2',
    950: '#000000',
  },
}
SCSS
$custom: #d958f2;
$custom-light: #e88ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d958f2",
  "rgb": {
    "r": 217,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 290.26,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68588,
    "c": 0.24027,
    "h": 320.8
  },
  "luminance": 0.28142
}

Semantic roles & 50–950 ramp

primary
#D958F2
secondary
#C1EDB8
accent
#E20328
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D958F2

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

Preview Lab → · Contrast checker → · Palette generator →

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