#9D2DB4#9D2DB4

#9D2DB4 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.213 H 320.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9D2DB4
RGBrgb(157, 45, 180)
HSLhsl(290, 60%, 44%)
HSVhsv(290, 75%, 71%)
CMYKcmyk(12.8%, 75%, 0%, 29.4%)
CIE-LABlab(41.75, 63.00, -48.67)
CIE-LCHlch(41.75, 79.61, 322.32°)
OKLaboklab(52.57% 0.1633 -0.1365)
OKLCHoklch(52.57% 0.213 320.1)
XYZxyz(23.0802, 12.3413, 44.3376)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2DB4 #44B42D
analogous
#5A2DB4 #9D2DB4 #B42D88
triadic
#9D2DB4 #B49D2D #2DB49D
tetradic
#9D2DB4 #B45A2D #44B42D #2D88B4
square
#9D2DB4 #B45A2D #44B42D #2D88B4
split-complementary
#9D2DB4 #88B42D #2DB45A
monochromatic
#481552 #722183 #9D2DB4 #BB4CD2 #CE7DDE

Accessibility & contrast

On white

6.06
#9D2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9D2DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2DB4
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2DB4#FFFFFF#000000##FFFFFF
##9D2DB41.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3A66B1
Tritanopia (blue-blind)
#9E486F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d2db4;
/* rgb */ color: rgb(157, 45, 180);
/* oklch */ color: oklch(52.6% 0.213 320.1);
Tailwind
colors: {
  custom: {
    50: '#be72cb',
    500: '#9d2db4',
    950: '#000000',
  },
}
SCSS
$custom: #9d2db4;
$custom-light: #be72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2db4",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 289.778,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5257,
    "c": 0.21283,
    "h": 320.1
  },
  "luminance": 0.1234
}

Semantic roles & 50–950 ramp

primary
#9D2DB4
secondary
#84C776
accent
#E34560
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

#9D2DB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva