#9B29AB#9B29AB

#9B29AB is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.209 H 322.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9B29AB
RGBrgb(155, 41, 171)
HSLhsl(293, 61%, 42%)
HSVhsv(293, 76%, 67%)
CMYKcmyk(9.4%, 76%, 0%, 32.9%)
CIE-LABlab(40.40, 62.29, -45.51)
CIE-LCHlch(40.40, 77.14, 323.85°)
OKLaboklab(51.37% 0.1653 -0.1273)
OKLCHoklch(51.37% 0.209 322.4)
XYZxyz(21.6604, 11.4960, 39.5982)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B29AB #39AB29
analogous
#5A29AB #9B29AB #AB297A
triadic
#9B29AB #AB9B29 #29AB9B
tetradic
#9B29AB #AB5A29 #39AB29 #297AAB
square
#9B29AB #AB5A29 #39AB29 #297AAB
split-complementary
#9B29AB #7AAB29 #29AB5A
monochromatic
#421148 #6E1D7A #9B29AB #BF40D1 #D071DD

Accessibility & contrast

On white

6.37
#9B29AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9B29AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B29AB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B29AB#FFFFFF#000000##FFFFFF
##9B29AB1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#3D63A8
Tritanopia (blue-blind)
#9D4269
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b29ab;
/* rgb */ color: rgb(155, 41, 171);
/* oklch */ color: oklch(51.4% 0.209 322.4);
Tailwind
colors: {
  custom: {
    50: '#bc70c5',
    500: '#9b29ab',
    950: '#000000',
  },
}
SCSS
$custom: #9b29ab;
$custom-light: #bc70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b29ab",
  "rgb": {
    "r": 155,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 292.615,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51367,
    "c": 0.20864,
    "h": 322.4
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#9B29AB
secondary
#77C46C
accent
#E44357
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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