#9B29BC#9B29BC

#9B29BC is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.223 H 317.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9B29BC
RGBrgb(155, 41, 188)
HSLhsl(287, 64%, 45%)
HSVhsv(287, 78%, 74%)
CMYKcmyk(17.6%, 78.2%, 0%, 26.3%)
CIE-LABlab(41.51, 65.42, -53.78)
CIE-LCHlch(41.51, 84.69, 320.58°)
OKLaboklab(52.5% 0.1633 -0.1515)
OKLCHoklch(52.5% 0.223 317.2)
XYZxyz(23.3863, 12.1863, 48.6875)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B29BC #4ABC29
analogous
#5229BC #9B29BC #BC2993
triadic
#9B29BC #BC9B29 #29BC9B
tetradic
#9B29BC #BC5229 #4ABC29 #2993BC
square
#9B29BC #BC5229 #4ABC29 #2993BC
split-complementary
#9B29BC #93BC29 #29BC52
monochromatic
#481358 #721E8A #9B29BC #B84BD8 #CC7DE3

Accessibility & contrast

On white

6.11
#9B29BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9B29BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B29BC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B29BC#FFFFFF#000000##FFFFFF
##9B29BC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#2C65B9
Tritanopia (blue-blind)
#994A72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b29bc;
/* rgb */ color: rgb(155, 41, 188);
/* oklch */ color: oklch(52.5% 0.223 317.2);
Tailwind
colors: {
  custom: {
    50: '#bd70d1',
    500: '#9b29bc',
    950: '#000000',
  },
}
SCSS
$custom: #9b29bc;
$custom-light: #bd70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b29bc",
  "rgb": {
    "r": 155,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 286.531,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52503,
    "c": 0.22278,
    "h": 317.2
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#9B29BC
secondary
#89CB76
accent
#E74166
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9B29BC

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

Preview Lab → · Contrast checker → · Palette generator →

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