#9B2AB0#9B2AB0

#9B2AB0 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.212 H 320.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9B2AB0
RGBrgb(155, 42, 176)
HSLhsl(291, 61%, 43%)
HSVhsv(291, 76%, 69%)
CMYKcmyk(11.9%, 76.1%, 0%, 31%)
CIE-LABlab(40.83, 62.87, -47.79)
CIE-LCHlch(40.83, 78.97, 322.76°)
OKLaboklab(51.77% 0.164 -0.134)
OKLCHoklch(51.77% 0.212 320.8)
XYZxyz(22.1811, 11.7603, 42.1675)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AB0 #3FB02A
analogous
#582AB0 #9B2AB0 #B02A82
triadic
#9B2AB0 #B09B2A #2AB09B
tetradic
#9B2AB0 #B0582A #3FB02A #2A82B0
square
#9B2AB0 #B0582A #3FB02A #2A82B0
split-complementary
#9B2AB0 #82B02A #2AB058
monochromatic
#44124D #6F1E7F #9B2AB0 #BC45D3 #CE76DE

Accessibility & contrast

On white

6.27
#9B2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9B2AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2AB0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AB0#FFFFFF#000000##FFFFFF
##9B2AB01.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#3964AD
Tritanopia (blue-blind)
#9C456C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2ab0;
/* rgb */ color: rgb(155, 42, 176);
/* oklch */ color: oklch(51.8% 0.212 320.8);
Tailwind
colors: {
  custom: {
    50: '#bc70c8',
    500: '#9b2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ab0;
$custom-light: #bc70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ab0",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 290.597,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51773,
    "c": 0.21177,
    "h": 320.8
  },
  "luminance": 0.11759
}

Semantic roles & 50–950 ramp

primary
#9B2AB0
secondary
#7DC670
accent
#E5435D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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