#9C29BA#9C29BA

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

Color values

HEX#9C29BA
RGBrgb(156, 41, 186)
HSLhsl(288, 64%, 45%)
HSVhsv(288, 78%, 73%)
CMYKcmyk(16.1%, 78%, 0%, 27.1%)
CIE-LABlab(41.53, 65.23, -52.56)
CIE-LCHlch(41.53, 83.78, 321.14°)
OKLaboklab(52.51% 0.1649 -0.1479)
OKLCHoklch(52.51% 0.221 318.1)
XYZxyz(23.3649, 12.2001, 47.5690)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C29BA #47BA29
analogous
#5329BA #9C29BA #BA2990
triadic
#9C29BA #BA9C29 #29BA9C
tetradic
#9C29BA #BA5329 #47BA29 #2990BA
square
#9C29BA #BA5329 #47BA29 #2990BA
split-complementary
#9C29BA #90BA29 #29BA53
monochromatic
#481356 #721E88 #9C29BA #BA49D7 #CD7BE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C29BA#FFFFFF#000000##FFFFFF
##9C29BA1.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)
#005BBE
Deuteranopia (green-blind)
#3065B7
Tritanopia (blue-blind)
#9B4971
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c29ba;
/* rgb */ color: rgb(156, 41, 186);
/* oklch */ color: oklch(52.5% 0.221 318.1);
Tailwind
colors: {
  custom: {
    50: '#be70cf',
    500: '#9c29ba',
    950: '#000000',
  },
}
SCSS
$custom: #9c29ba;
$custom-light: #be70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c29ba",
  "rgb": {
    "r": 156,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 287.586,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52507,
    "c": 0.22147,
    "h": 318.1
  },
  "luminance": 0.12199
}

Semantic roles & 50–950 ramp

primary
#9C29BA
secondary
#86CA75
accent
#E74163
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9C29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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