#9C22A6#9C22A6

#9C22A6 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.212 H 324.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9C22A6
RGBrgb(156, 34, 166)
HSLhsl(295, 66%, 39%)
HSVhsv(295, 80%, 65%)
CMYKcmyk(6%, 79.5%, 0%, 34.9%)
CIE-LABlab(39.52, 63.73, -43.92)
CIE-LCHlch(39.52, 77.40, 325.43°)
OKLaboklab(50.68% 0.1727 -0.1225)
OKLCHoklch(50.68% 0.212 324.6)
XYZxyz(21.1647, 10.9665, 37.0710)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C22A6 #2CA622
analogous
#5A22A6 #9C22A6 #A6226E
triadic
#9C22A6 #A69C22 #22A69C
tetradic
#9C22A6 #A65A22 #2CA622 #226EA6
square
#9C22A6 #A65A22 #2CA622 #226EA6
split-complementary
#9C22A6 #6EA622 #22A65A
monochromatic
#3D0D40 #6C1873 #9C22A6 #C830D5 #D663DF

Accessibility & contrast

On white

6.58
#9C22A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9C22A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C22A6
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C22A6#FFFFFF#000000##FFFFFF
##9C22A61.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#3F62A3
Tritanopia (blue-blind)
#9F3C64
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c22a6;
/* rgb */ color: rgb(156, 34, 166);
/* oklch */ color: oklch(50.7% 0.212 324.6);
Tailwind
colors: {
  custom: {
    50: '#bd6dc1',
    500: '#9c22a6',
    950: '#000000',
  },
}
SCSS
$custom: #9c22a6;
$custom-light: #bd6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c22a6",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 295.455,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50676,
    "c": 0.21173,
    "h": 324.6
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

primary
#9C22A6
secondary
#67C45F
accent
#E93F4C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C22A6

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

Preview Lab → · Contrast checker → · Palette generator →

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