#9B29BA#9B29BA

#9B29BA is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.221 H 317.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9B29BA
RGBrgb(155, 41, 186)
HSLhsl(287, 64%, 45%)
HSVhsv(287, 78%, 73%)
CMYKcmyk(16.7%, 78%, 0%, 27.1%)
CIE-LABlab(41.38, 65.04, -52.82)
CIE-LCHlch(41.38, 83.79, 320.92°)
OKLaboklab(52.36% 0.1636 -0.1487)
OKLCHoklch(52.36% 0.221 317.7)
XYZxyz(23.1722, 12.1007, 47.5599)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B29BA #48BA29
analogous
#5229BA #9B29BA #BA2991
triadic
#9B29BA #BA9B29 #29BA9B
tetradic
#9B29BA #BA5229 #48BA29 #2991BA
square
#9B29BA #BA5229 #48BA29 #2991BA
split-complementary
#9B29BA #91BA29 #29BA52
monochromatic
#471356 #711E88 #9B29BA #B949D7 #CC7BE2

Accessibility & contrast

On white

6.14
#9B29BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9B29BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B29BA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B29BA#FFFFFF#000000##FFFFFF
##9B29BA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#9A4971
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b29ba;
/* rgb */ color: rgb(155, 41, 186);
/* oklch */ color: oklch(52.4% 0.221 317.7);
Tailwind
colors: {
  custom: {
    50: '#bd70cf',
    500: '#9b29ba',
    950: '#000000',
  },
}
SCSS
$custom: #9b29ba;
$custom-light: #bd70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b29ba",
  "rgb": {
    "r": 155,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 287.172,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52365,
    "c": 0.2211,
    "h": 317.7
  },
  "luminance": 0.121
}

Semantic roles & 50–950 ramp

primary
#9B29BA
secondary
#87CA75
accent
#E74164
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9B29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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