#9C22A5#9C22A5

#9C22A5 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.211 H 325.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9C22A5
RGBrgb(156, 34, 165)
HSLhsl(296, 66%, 39%)
HSVhsv(296, 79%, 65%)
CMYKcmyk(5.5%, 79.4%, 0%, 35.3%)
CIE-LABlab(39.46, 63.56, -43.42)
CIE-LCHlch(39.46, 76.98, 325.66°)
OKLaboklab(50.61% 0.1727 -0.1211)
OKLCHoklch(50.61% 0.211 325)
XYZxyz(21.0733, 10.9300, 36.5898)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C22A5 #2BA522
analogous
#5B22A5 #9C22A5 #A5226D
triadic
#9C22A5 #A59C22 #22A59C
tetradic
#9C22A5 #A55B22 #2BA522 #226DA5
square
#9C22A5 #A55B22 #2BA522 #226DA5
split-complementary
#9C22A5 #6DA522 #22A55B
monochromatic
#3C0D40 #6C1872 #9C22A5 #C930D4 #D663DF

Accessibility & contrast

On white

6.59
#9C22A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C22A5
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C22A5#FFFFFF#000000##FFFFFF
##9C22A51.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#3F62A2
Tritanopia (blue-blind)
#9F3B64
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c22a5;
/* rgb */ color: rgb(156, 34, 165);
/* oklch */ color: oklch(50.6% 0.211 325.0);
Tailwind
colors: {
  custom: {
    50: '#bd6dc0',
    500: '#9c22a5',
    950: '#000000',
  },
}
SCSS
$custom: #9c22a5;
$custom-light: #bd6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c22a5",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 295.878,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50613,
    "c": 0.21095,
    "h": 325
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#9C22A5
secondary
#66C45F
accent
#E93F4B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C22A5

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

Preview Lab → · Contrast checker → · Palette generator →

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