#9C22BC#9C22BC

#9C22BC is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.2% C 0.229 H 317.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9C22BC
RGBrgb(156, 34, 188)
HSLhsl(288, 69%, 44%)
HSVhsv(288, 82%, 74%)
CMYKcmyk(17%, 81.9%, 0%, 26.3%)
CIE-LABlab(40.97, 67.64, -54.65)
CIE-LCHlch(40.97, 86.96, 321.06°)
OKLaboklab(52.15% 0.1698 -0.154)
OKLCHoklch(52.15% 0.229 317.8)
XYZxyz(23.3581, 11.8439, 48.6229)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C22BC #42BC22
analogous
#4F22BC #9C22BC #BC228F
triadic
#9C22BC #BC9C22 #22BC9C
tetradic
#9C22BC #BC4F22 #42BC22 #228FBC
square
#9C22BC #BC4F22 #42BC22 #228FBC
split-complementary
#9C22BC #8FBC22 #22BC4F
monochromatic
#460F54 #711988 #9C22BC #BC3FDC #CE73E6

Accessibility & contrast

On white

6.23
#9C22BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9C22BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C22BC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C22BC#FFFFFF#000000##FFFFFF
##9C22BC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#9B4771
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c22bc;
/* rgb */ color: rgb(156, 34, 188);
/* oklch */ color: oklch(52.2% 0.229 317.8);
Tailwind
colors: {
  custom: {
    50: '#be6ed1',
    500: '#9c22bc',
    950: '#000000',
  },
}
SCSS
$custom: #9c22bc;
$custom-light: #be6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c22bc",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 287.532,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52152,
    "c": 0.2292,
    "h": 317.8
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#9C22BC
secondary
#81CD6D
accent
#EC3C60
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9C22BC

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

Preview Lab → · Contrast checker → · Palette generator →

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