#9B2CB1#9B2CB1

#9B2CB1 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.211 H 320.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9B2CB1
RGBrgb(155, 44, 177)
HSLhsl(290, 60%, 43%)
HSVhsv(290, 75%, 69%)
CMYKcmyk(12.4%, 75.1%, 0%, 30.6%)
CIE-LABlab(41.13, 62.38, -47.91)
CIE-LCHlch(41.13, 78.66, 322.48°)
OKLaboklab(52% 0.1621 -0.1343)
OKLCHoklch(52% 0.211 320.4)
XYZxyz(22.3531, 11.9454, 42.7147)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CB1 #42B12C
analogous
#582CB1 #9B2CB1 #B12C84
triadic
#9B2CB1 #B19B2C #2CB19B
tetradic
#9B2CB1 #B1582C #42B12C #2C84B1
square
#9B2CB1 #B1582C #42B12C #2C84B1
split-complementary
#9B2CB1 #84B12C #2CB158
monochromatic
#45144F #702080 #9B2CB1 #BB49D2 #CD7ADE

Accessibility & contrast

On white

6.20
#9B2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9B2CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CB1
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CB1#FFFFFF#000000##FFFFFF
##9B2CB11.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3A65AE
Tritanopia (blue-blind)
#9C476D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2cb1;
/* rgb */ color: rgb(155, 44, 177);
/* oklch */ color: oklch(52.0% 0.211 320.4);
Tailwind
colors: {
  custom: {
    50: '#bc71c9',
    500: '#9b2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cb1;
$custom-light: #bc71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cb1",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 290.075,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.21054,
    "h": 320.4
  },
  "luminance": 0.11944
}

Semantic roles & 50–950 ramp

primary
#9B2CB1
secondary
#81C673
accent
#E3445F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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