#D956F5#D956F5

#D956F5 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.5% C 0.245 H 320.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#D956F5
RGBrgb(217, 86, 245)
HSLhsl(289, 89%, 65%)
HSVhsv(289, 65%, 96%)
CMYKcmyk(11.4%, 64.9%, 0%, 3.9%)
CIE-LABlab(59.89, 72.22, -56.31)
CIE-LCHlch(59.89, 91.58, 322.06°)
OKLaboklab(68.55% 0.1883 -0.1573)
OKLCHoklch(68.55% 0.245 320.1)
XYZxyz(48.4225, 28.0022, 89.2229)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D956F5 #72F556
analogous
#8A56F5 #D956F5 #F556C2
triadic
#D956F5 #F5D956 #56F5D9
tetradic
#D956F5 #F58A56 #72F556 #56C2F5
square
#D956F5 #F58A56 #72F556 #56C2F5
split-complementary
#D956F5 #C2F556 #56F58A
monochromatic
#A40CC5 #CC1CF2 #D956F5 #E690F8 #F3CAFC

Accessibility & contrast

On white

3.18
#D956F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#D956F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D956F5
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D956F5#FFFFFF#000000##000000
##D956F51.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2387FA
Deuteranopia (green-blind)
#6495F1
Tritanopia (blue-blind)
#DA729F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d956f5;
/* rgb */ color: rgb(217, 86, 245);
/* oklch */ color: oklch(68.5% 0.245 320.1);
Tailwind
colors: {
  custom: {
    50: '#e88ef9',
    500: '#d956f5',
    950: '#000000',
  },
}
SCSS
$custom: #d956f5;
$custom-light: #e88ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#d956f5",
  "rgb": {
    "r": 217,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 289.434,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68549,
    "c": 0.2454,
    "h": 320.1
  },
  "luminance": 0.28
}

Semantic roles & 50–950 ramp

primary
#D956F5
secondary
#C2EFB8
accent
#E50028
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #D956F5

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

Preview Lab → · Contrast checker → · Palette generator →

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