#9B2AB5#9B2AB5

#9B2AB5 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.216 H 319.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9B2AB5
RGBrgb(155, 42, 181)
HSLhsl(289, 62%, 44%)
HSVhsv(289, 77%, 71%)
CMYKcmyk(14.4%, 76.8%, 0%, 29%)
CIE-LABlab(41.16, 63.79, -50.23)
CIE-LCHlch(41.16, 81.19, 321.78°)
OKLaboklab(52.1% 0.1635 -0.1411)
OKLCHoklch(52.1% 0.216 319.2)
XYZxyz(22.6849, 11.9618, 44.8211)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AB5 #44B52A
analogous
#552AB5 #9B2AB5 #B52A89
triadic
#9B2AB5 #B59B2A #2AB59B
tetradic
#9B2AB5 #B5552A #44B52A #2A89B5
square
#9B2AB5 #B5552A #44B52A #2A89B5
split-complementary
#9B2AB5 #89B52A #2AB555
monochromatic
#461352 #701E83 #9B2AB5 #BA48D4 #CD79E0

Accessibility & contrast

On white

6.19
#9B2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2AB5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AB5#FFFFFF#000000##FFFFFF
##9B2AB51.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#3565B2
Tritanopia (blue-blind)
#9B486F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2ab5;
/* rgb */ color: rgb(155, 42, 181);
/* oklch */ color: oklch(52.1% 0.216 319.2);
Tailwind
colors: {
  custom: {
    50: '#bd70cc',
    500: '#9b2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ab5;
$custom-light: #bd70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ab5",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 288.777,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.21594,
    "h": 319.2
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

primary
#9B2AB5
secondary
#83C873
accent
#E54261
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #9B2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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