#9C22A9#9C22A9

#9C22A9 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.214 H 323.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9C22A9
RGBrgb(156, 34, 169)
HSLhsl(294, 67%, 40%)
HSVhsv(294, 80%, 66%)
CMYKcmyk(7.7%, 79.9%, 0%, 33.7%)
CIE-LABlab(39.71, 64.25, -45.42)
CIE-LCHlch(39.71, 78.68, 324.74°)
OKLaboklab(50.87% 0.1724 -0.1269)
OKLCHoklch(50.87% 0.214 323.6)
XYZxyz(21.4431, 11.0779, 38.5372)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C22A9 #2FA922
analogous
#5822A9 #9C22A9 #A92273
triadic
#9C22A9 #A99C22 #22A99C
tetradic
#9C22A9 #A95822 #2FA922 #2273A9
square
#9C22A9 #A95822 #2FA922 #2273A9
split-complementary
#9C22A9 #73A922 #22A958
monochromatic
#3E0D43 #6D1876 #9C22A9 #C632D6 #D465E0

Accessibility & contrast

On white

6.53
#9C22A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9C22A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C22A9
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C22A9#FFFFFF#000000##FFFFFF
##9C22A91.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#3C62A6
Tritanopia (blue-blind)
#9F3D66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c22a9;
/* rgb */ color: rgb(156, 34, 169);
/* oklch */ color: oklch(50.9% 0.214 323.6);
Tailwind
colors: {
  custom: {
    50: '#bd6dc3',
    500: '#9c22a9',
    950: '#000000',
  },
}
SCSS
$custom: #9c22a9;
$custom-light: #bd6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c22a9",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 294.222,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50869,
    "c": 0.21407,
    "h": 323.6
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#9C22A9
secondary
#6BC561
accent
#E93E4F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9C22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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