#9C22A0#9C22A0

#9C22A0 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.207 H 326.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9C22A0
RGBrgb(156, 34, 160)
HSLhsl(298, 65%, 38%)
HSVhsv(298, 79%, 63%)
CMYKcmyk(2.5%, 78.8%, 0%, 37.3%)
CIE-LABlab(39.16, 62.72, -40.90)
CIE-LCHlch(39.16, 74.88, 326.89°)
OKLaboklab(50.3% 0.1731 -0.1137)
OKLCHoklch(50.3% 0.207 326.7)
XYZxyz(20.6271, 10.7515, 34.2397)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C22A0 #26A022
analogous
#5D22A0 #9C22A0 #A02265
triadic
#9C22A0 #A09C22 #22A09C
tetradic
#9C22A0 #A05D22 #26A022 #2265A0
square
#9C22A0 #A05D22 #26A022 #2265A0
split-complementary
#9C22A0 #65A022 #22A05D
monochromatic
#3A0D3B #6B176E #9C22A0 #CD2DD2 #D95FDD

Accessibility & contrast

On white

6.67
#9C22A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9C22A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C22A0
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C22A0#FFFFFF#000000##FFFFFF
##9C22A01.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#43619D
Tritanopia (blue-blind)
#A03961
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c22a0;
/* rgb */ color: rgb(156, 34, 160);
/* oklch */ color: oklch(50.3% 0.207 326.7);
Tailwind
colors: {
  custom: {
    50: '#bd6dbd',
    500: '#9c22a0',
    950: '#000000',
  },
}
SCSS
$custom: #9c22a0;
$custom-light: #bd6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c22a0",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 298.095,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.503,
    "c": 0.20709,
    "h": 326.7
  },
  "luminance": 0.1075
}

Semantic roles & 50–950 ramp

primary
#9C22A0
secondary
#5FC25C
accent
#E84045
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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