#9B2CB5#9B2CB5

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

Color values

HEX#9B2CB5
RGBrgb(155, 44, 181)
HSLhsl(289, 61%, 44%)
HSVhsv(289, 76%, 71%)
CMYKcmyk(14.4%, 75.7%, 0%, 29%)
CIE-LABlab(41.39, 63.13, -49.86)
CIE-LCHlch(41.39, 80.44, 321.69°)
OKLaboklab(52.27% 0.1617 -0.14)
OKLCHoklch(52.27% 0.214 319.1)
XYZxyz(22.7576, 12.1072, 44.8453)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CB5 #46B52C
analogous
#572CB5 #9B2CB5 #B52C8B
triadic
#9B2CB5 #B59B2C #2CB59B
tetradic
#9B2CB5 #B5572C #46B52C #2C8BB5
square
#9B2CB5 #B5572C #46B52C #2C8BB5
split-complementary
#9B2CB5 #8BB52C #2CB557
monochromatic
#471453 #712084 #9B2CB5 #B94BD3 #CC7CDF

Accessibility & contrast

On white

6.14
#9B2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9B2CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CB5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CB5#FFFFFF#000000##FFFFFF
##9B2CB51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#3665B2
Tritanopia (blue-blind)
#9B496F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2cb5;
/* rgb */ color: rgb(155, 44, 181);
/* oklch */ color: oklch(52.3% 0.214 319.1);
Tailwind
colors: {
  custom: {
    50: '#bd71cc',
    500: '#9b2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cb5;
$custom-light: #bd71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cb5",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 288.613,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52267,
    "c": 0.21392,
    "h": 319.1
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#9B2CB5
secondary
#85C875
accent
#E44462
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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