#9C22CA#9C22CA

#9C22CA is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.2% C 0.241 H 313.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9C22CA
RGBrgb(156, 34, 202)
HSLhsl(284, 71%, 46%)
HSVhsv(284, 83%, 79%)
CMYKcmyk(22.8%, 83.2%, 0%, 20.8%)
CIE-LABlab(41.96, 70.26, -61.21)
CIE-LCHlch(41.96, 93.19, 318.94°)
OKLaboklab(53.16% 0.1669 -0.1732)
OKLCHoklch(53.16% 0.241 313.9)
XYZxyz(24.9411, 12.4771, 56.9602)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C22CA #50CA22
analogous
#4822CA #9C22CA #CA22A4
triadic
#9C22CA #CA9C22 #22CA9C
tetradic
#9C22CA #CA4822 #50CA22 #22A4CA
square
#9C22CA #CA4822 #50CA22 #22A4CA
split-complementary
#9C22CA #A4CA22 #22CA48
monochromatic
#4B1061 #741996 #9C22CA #B749E0 #CC7DE9

Accessibility & contrast

On white

6.01
#9C22CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9C22CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C22CA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C22CA#FFFFFF#000000##FFFFFF
##9C22CA1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0466C7
Tritanopia (blue-blind)
#974E79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c22ca;
/* rgb */ color: rgb(156, 34, 202);
/* oklch */ color: oklch(53.2% 0.241 313.9);
Tailwind
colors: {
  custom: {
    50: '#be6fdb',
    500: '#9c22ca',
    950: '#000000',
  },
}
SCSS
$custom: #9c22ca;
$custom-light: #be6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c22ca",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 202
  },
  "hsl": {
    "h": 283.571,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53164,
    "c": 0.24058,
    "h": 313.9
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#9C22CA
secondary
#8FD177
accent
#EE3A6B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9C22CA

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

Preview Lab → · Contrast checker → · Palette generator →

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