#9C29A2#9C29A2

#9C29A2 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.202 H 325.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9C29A2
RGBrgb(156, 41, 162)
HSLhsl(297, 60%, 40%)
HSVhsv(297, 75%, 64%)
CMYKcmyk(3.7%, 74.7%, 0%, 36.5%)
CIE-LABlab(40.02, 60.92, -40.73)
CIE-LCHlch(40.02, 73.28, 326.23°)
OKLaboklab(50.95% 0.167 -0.1133)
OKLCHoklch(50.95% 0.202 325.9)
XYZxyz(21.0244, 11.2638, 35.2422)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C29A2 #2FA229
analogous
#6029A2 #9C29A2 #A2296B
triadic
#9C29A2 #A29C29 #29A29C
tetradic
#9C29A2 #A26029 #2FA229 #296BA2
square
#9C29A2 #A26029 #2FA229 #296BA2
split-complementary
#9C29A2 #6BA229 #29A260
monochromatic
#3E1040 #6D1D71 #9C29A2 #C63BCD #D46CDA

Accessibility & contrast

On white

6.46
#9C29A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9C29A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C29A2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C29A2#FFFFFF#000000##FFFFFF
##9C29A21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#45639F
Tritanopia (blue-blind)
#A03E64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c29a2;
/* rgb */ color: rgb(156, 41, 162);
/* oklch */ color: oklch(51.0% 0.202 325.9);
Tailwind
colors: {
  custom: {
    50: '#bd6fbe',
    500: '#9c29a2',
    950: '#000000',
  },
}
SCSS
$custom: #9c29a2;
$custom-light: #bd6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9c29a2",
  "rgb": {
    "r": 156,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 297.025,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50952,
    "c": 0.2018,
    "h": 325.9
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

primary
#9C29A2
secondary
#6BC067
accent
#E3454D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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