#9B29A2#9B29A2

#9B29A2 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.201 H 325.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9B29A2
RGBrgb(155, 41, 162)
HSLhsl(297, 60%, 40%)
HSVhsv(297, 75%, 64%)
CMYKcmyk(4.3%, 74.7%, 0%, 36.5%)
CIE-LABlab(39.86, 60.70, -41.00)
CIE-LCHlch(39.86, 73.25, 325.96°)
OKLaboklab(50.8% 0.1659 -0.1141)
OKLCHoklch(50.8% 0.201 325.5)
XYZxyz(20.8316, 11.1645, 35.2331)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B29A2 #30A229
analogous
#5F29A2 #9B29A2 #A2296D
triadic
#9B29A2 #A29B29 #29A29B
tetradic
#9B29A2 #A25F29 #30A229 #296DA2
square
#9B29A2 #A25F29 #30A229 #296DA2
split-complementary
#9B29A2 #6DA229 #29A25F
monochromatic
#3E1040 #6C1D71 #9B29A2 #C53BCD #D36CDA

Accessibility & contrast

On white

6.50
#9B29A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9B29A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B29A2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B29A2#FFFFFF#000000##FFFFFF
##9B29A21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#44639F
Tritanopia (blue-blind)
#9F3E64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b29a2;
/* rgb */ color: rgb(155, 41, 162);
/* oklch */ color: oklch(50.8% 0.201 325.5);
Tailwind
colors: {
  custom: {
    50: '#bc6fbe',
    500: '#9b29a2',
    950: '#000000',
  },
}
SCSS
$custom: #9b29a2;
$custom-light: #bc6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9b29a2",
  "rgb": {
    "r": 155,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 296.529,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50802,
    "c": 0.20133,
    "h": 325.5
  },
  "luminance": 0.11163
}

Semantic roles & 50–950 ramp

primary
#9B29A2
secondary
#6CC067
accent
#E3454E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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