#9B29BD#9B29BD

#9B29BD is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.6% C 0.224 H 316.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9B29BD
RGBrgb(155, 41, 189)
HSLhsl(286, 64%, 45%)
HSVhsv(286, 78%, 74%)
CMYKcmyk(18%, 78.3%, 0%, 25.9%)
CIE-LABlab(41.58, 65.61, -54.26)
CIE-LCHlch(41.58, 85.14, 320.41°)
OKLaboklab(52.57% 0.1632 -0.1529)
OKLCHoklch(52.57% 0.224 316.9)
XYZxyz(23.4944, 12.2296, 49.2572)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B29BD #4BBD29
analogous
#5129BD #9B29BD #BD2995
triadic
#9B29BD #BD9B29 #29BD9B
tetradic
#9B29BD #BD5129 #4BBD29 #2995BD
square
#9B29BD #BD5129 #4BBD29 #2995BD
split-complementary
#9B29BD #95BD29 #29BD51
monochromatic
#491358 #721E8B #9B29BD #B84BD8 #CC7DE3

Accessibility & contrast

On white

6.09
#9B29BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9B29BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B29BD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B29BD#FFFFFF#000000##FFFFFF
##9B29BD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#2A65BA
Tritanopia (blue-blind)
#994B73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b29bd;
/* rgb */ color: rgb(155, 41, 189);
/* oklch */ color: oklch(52.6% 0.224 316.9);
Tailwind
colors: {
  custom: {
    50: '#bd70d2',
    500: '#9b29bd',
    950: '#000000',
  },
}
SCSS
$custom: #9b29bd;
$custom-light: #bd70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b29bd",
  "rgb": {
    "r": 155,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 286.216,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.22362,
    "h": 316.9
  },
  "luminance": 0.12229
}

Semantic roles & 50–950 ramp

primary
#9B29BD
secondary
#8ACB77
accent
#E74067
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9B29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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