#9D2BB1#9D2BB1

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

Color values

HEX#9D2BB1
RGBrgb(157, 43, 177)
HSLhsl(291, 61%, 43%)
HSVhsv(291, 76%, 69%)
CMYKcmyk(11.3%, 75.7%, 0%, 30.6%)
CIE-LABlab(41.33, 63.12, -47.57)
CIE-LCHlch(41.33, 79.04, 323.00°)
OKLaboklab(52.21% 0.1654 -0.1332)
OKLCHoklch(52.21% 0.212 321.1)
XYZxyz(22.7034, 12.0714, 42.7206)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BB1 #3FB12B
analogous
#5A2BB1 #9D2BB1 #B12B82
triadic
#9D2BB1 #B19D2B #2BB19D
tetradic
#9D2BB1 #B15A2B #3FB12B #2B82B1
square
#9D2BB1 #B15A2B #3FB12B #2B82B1
split-complementary
#9D2BB1 #82B12B #2BB15A
monochromatic
#46134F #711F80 #9D2BB1 #BD47D2 #CF78DE

Accessibility & contrast

On white

6.15
#9D2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9D2BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2BB1
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BB1#FFFFFF#000000##FFFFFF
##9D2BB11.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2bb1;
/* rgb */ color: rgb(157, 43, 177);
/* oklch */ color: oklch(52.2% 0.212 321.1);
Tailwind
colors: {
  custom: {
    50: '#be71c9',
    500: '#9d2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #9d2bb1;
$custom-light: #be71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2bb1",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 291.045,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52208,
    "c": 0.21239,
    "h": 321.1
  },
  "luminance": 0.1207
}

Semantic roles & 50–950 ramp

primary
#9D2BB1
secondary
#7EC672
accent
#E4445C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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