#9C22AF#9C22AF

#9C22AF is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.3% C 0.219 H 321.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9C22AF
RGBrgb(156, 34, 175)
HSLhsl(292, 67%, 41%)
HSVhsv(292, 81%, 69%)
CMYKcmyk(10.9%, 80.6%, 0%, 31.4%)
CIE-LABlab(40.10, 65.30, -48.38)
CIE-LCHlch(40.10, 81.26, 323.47°)
OKLaboklab(51.26% 0.1717 -0.1356)
OKLCHoklch(51.26% 0.219 321.7)
XYZxyz(22.0193, 11.3084, 41.5721)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C22AF #35AF22
analogous
#5522AF #9C22AF #AF227B
triadic
#9C22AF #AF9C22 #22AF9C
tetradic
#9C22AF #AF5522 #35AF22 #227BAF
square
#9C22AF #AF5522 #35AF22 #227BAF
split-complementary
#9C22AF #7BAF22 #22AF55
monochromatic
#410E49 #6E187C #9C22AF #C236D8 #D269E2

Accessibility & contrast

On white

6.44
#9C22AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9C22AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C22AF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C22AF#FFFFFF#000000##FFFFFF
##9C22AF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#3763AC
Tritanopia (blue-blind)
#9D416A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c22af;
/* rgb */ color: rgb(156, 34, 175);
/* oklch */ color: oklch(51.3% 0.219 321.7);
Tailwind
colors: {
  custom: {
    50: '#bd6dc7',
    500: '#9c22af',
    950: '#000000',
  },
}
SCSS
$custom: #9c22af;
$custom-light: #bd6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c22af",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 291.915,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51262,
    "c": 0.2188,
    "h": 321.7
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#9C22AF
secondary
#72C865
accent
#EA3D55
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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