#9D2CB1#9D2CB1

#9D2CB1 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.211 H 321.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9D2CB1
RGBrgb(157, 44, 177)
HSLhsl(291, 60%, 43%)
HSVhsv(291, 75%, 69%)
CMYKcmyk(11.3%, 75.1%, 0%, 30.6%)
CIE-LABlab(41.45, 62.79, -47.39)
CIE-LCHlch(41.45, 78.66, 322.96°)
OKLaboklab(52.29% 0.1645 -0.1327)
OKLCHoklch(52.29% 0.211 321.1)
XYZxyz(22.7402, 12.1450, 42.7329)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CB1 #40B12C
analogous
#5A2CB1 #9D2CB1 #B12C82
triadic
#9D2CB1 #B19D2C #2CB19D
tetradic
#9D2CB1 #B15A2C #40B12C #2C82B1
square
#9D2CB1 #B15A2C #40B12C #2C82B1
split-complementary
#9D2CB1 #82B12C #2CB15A
monochromatic
#46144F #722080 #9D2CB1 #BD49D2 #CF7ADE

Accessibility & contrast

On white

6.12
#9D2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9D2CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2CB1
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CB1#FFFFFF#000000##FFFFFF
##9D2CB11.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3C66AE
Tritanopia (blue-blind)
#9E466D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d2cb1;
/* rgb */ color: rgb(157, 44, 177);
/* oklch */ color: oklch(52.3% 0.211 321.1);
Tailwind
colors: {
  custom: {
    50: '#be71c9',
    500: '#9d2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #9d2cb1;
$custom-light: #be71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2cb1",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 290.977,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52291,
    "c": 0.21136,
    "h": 321.1
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#9D2CB1
secondary
#7FC673
accent
#E3445C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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