#9C29BD#9C29BD

#9C29BD is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.224 H 317.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9C29BD
RGBrgb(156, 41, 189)
HSLhsl(287, 64%, 45%)
HSVhsv(287, 78%, 74%)
CMYKcmyk(17.5%, 78.3%, 0%, 25.9%)
CIE-LABlab(41.73, 65.80, -54.00)
CIE-LCHlch(41.73, 85.12, 320.62°)
OKLaboklab(52.71% 0.1644 -0.1521)
OKLCHoklch(52.71% 0.224 317.2)
XYZxyz(23.6872, 12.3290, 49.2663)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C29BD #4ABD29
analogous
#5229BD #9C29BD #BD2994
triadic
#9C29BD #BD9C29 #29BD9C
tetradic
#9C29BD #BD5229 #4ABD29 #2994BD
square
#9C29BD #BD5229 #4ABD29 #2994BD
split-complementary
#9C29BD #94BD29 #29BD52
monochromatic
#491358 #721E8B #9C29BD #B94BD8 #CC7DE3

Accessibility & contrast

On white

6.06
#9C29BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9C29BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C29BD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C29BD#FFFFFF#000000##FFFFFF
##9C29BD1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2C66BA
Tritanopia (blue-blind)
#9A4B73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c29bd;
/* rgb */ color: rgb(156, 41, 189);
/* oklch */ color: oklch(52.7% 0.224 317.2);
Tailwind
colors: {
  custom: {
    50: '#be71d2',
    500: '#9c29bd',
    950: '#000000',
  },
}
SCSS
$custom: #9c29bd;
$custom-light: #be71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c29bd",
  "rgb": {
    "r": 156,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 286.622,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52713,
    "c": 0.22398,
    "h": 317.2
  },
  "luminance": 0.12328
}

Semantic roles & 50–950 ramp

primary
#9C29BD
secondary
#89CB77
accent
#E74066
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9C29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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