#9B2AB1#9B2AB1

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

Color values

HEX#9B2AB1
RGBrgb(155, 42, 177)
HSLhsl(290, 62%, 43%)
HSVhsv(290, 76%, 69%)
CMYKcmyk(12.4%, 76.3%, 0%, 30.6%)
CIE-LABlab(40.90, 63.05, -48.28)
CIE-LCHlch(40.90, 79.42, 322.55°)
OKLaboklab(51.84% 0.1639 -0.1354)
OKLCHoklch(51.84% 0.213 320.4)
XYZxyz(22.2804, 11.8000, 42.6905)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AB1 #40B12A
analogous
#572AB1 #9B2AB1 #B12A84
triadic
#9B2AB1 #B19B2A #2AB19B
tetradic
#9B2AB1 #B1572A #40B12A #2A84B1
square
#9B2AB1 #B1572A #40B12A #2A84B1
split-complementary
#9B2AB1 #84B12A #2AB157
monochromatic
#44134E #701E80 #9B2AB1 #BC45D3 #CE77DF

Accessibility & contrast

On white

6.25
#9B2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9B2AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2AB1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AB1#FFFFFF#000000##FFFFFF
##9B2AB11.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3864AE
Tritanopia (blue-blind)
#9C466C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2ab1;
/* rgb */ color: rgb(155, 42, 177);
/* oklch */ color: oklch(51.8% 0.213 320.4);
Tailwind
colors: {
  custom: {
    50: '#bc70c9',
    500: '#9b2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ab1;
$custom-light: #bc70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ab1",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 290.222,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51838,
    "c": 0.2126,
    "h": 320.4
  },
  "luminance": 0.11799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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