#D958E5#D958E5

#D958E5 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.9% C 0.229 H 324.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#D958E5
RGBrgb(217, 88, 229)
HSLhsl(295, 73%, 62%)
HSVhsv(295, 62%, 90%)
CMYKcmyk(5.2%, 61.6%, 0%, 10.2%)
CIE-LABlab(59.33, 68.55, -48.27)
CIE-LCHlch(59.33, 83.84, 324.85°)
OKLaboklab(67.87% 0.1859 -0.134)
OKLCHoklch(67.87% 0.229 324.2)
XYZxyz(46.2466, 27.3909, 76.9646)
Luminance0.2739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D958E5 #64E558
analogous
#9358E5 #D958E5 #E558AA
triadic
#D958E5 #E5D958 #58E5D9
tetradic
#D958E5 #E59358 #64E558 #58AAE5
square
#D958E5 #E59358 #64E558 #58AAE5
split-complementary
#D958E5 #AAE558 #58E593
monochromatic
#9C1AA8 #CD23DD #D958E5 #E58DED #F1C2F5

Accessibility & contrast

On white

3.24
#D958E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#D958E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D958E5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D958E5#FFFFFF#000000##000000
##D958E51.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E85E9
Deuteranopia (green-blind)
#6F94E1
Tritanopia (blue-blind)
#DD6D97
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d958e5;
/* rgb */ color: rgb(217, 88, 229);
/* oklch */ color: oklch(67.9% 0.229 324.2);
Tailwind
colors: {
  custom: {
    50: '#e88fee',
    500: '#d958e5',
    950: '#000000',
  },
}
SCSS
$custom: #d958e5;
$custom-light: #e88fee;
$custom-dark: #000000;
JSON
{
  "hex": "#d958e5",
  "rgb": {
    "r": 217,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 294.894,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67872,
    "c": 0.22911,
    "h": 324.2
  },
  "luminance": 0.27388
}

Semantic roles & 50–950 ramp

primary
#D958E5
secondary
#B7E6B3
accent
#D51021
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D958E5

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

Preview Lab → · Contrast checker → · Palette generator →

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