#9C22BD#9C22BD

#9C22BD is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.2% C 0.230 H 317.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9C22BD
RGBrgb(156, 34, 189)
HSLhsl(287, 70%, 44%)
HSVhsv(287, 82%, 74%)
CMYKcmyk(17.5%, 82%, 0%, 25.9%)
CIE-LABlab(41.04, 67.82, -55.13)
CIE-LCHlch(41.04, 87.40, 320.90°)
OKLaboklab(52.22% 0.1696 -0.1554)
OKLCHoklch(52.22% 0.23 317.5)
XYZxyz(23.4663, 11.8872, 49.1926)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C22BD #43BD22
analogous
#4E22BD #9C22BD #BD2290
triadic
#9C22BD #BD9C22 #22BD9C
tetradic
#9C22BD #BD4E22 #43BD22 #2290BD
square
#9C22BD #BD4E22 #43BD22 #2290BD
split-complementary
#9C22BD #90BD22 #22BD4E
monochromatic
#460F55 #711989 #9C22BD #BB40DD #CE73E6

Accessibility & contrast

On white

6.22
#9C22BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9C22BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C22BD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C22BD#FFFFFF#000000##FFFFFF
##9C22BD1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#2764BA
Tritanopia (blue-blind)
#9A4872
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c22bd;
/* rgb */ color: rgb(156, 34, 189);
/* oklch */ color: oklch(52.2% 0.230 317.5);
Tailwind
colors: {
  custom: {
    50: '#be6ed2',
    500: '#9c22bd',
    950: '#000000',
  },
}
SCSS
$custom: #9c22bd;
$custom-light: #be6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c22bd",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 287.226,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.23002,
    "h": 317.5
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#9C22BD
secondary
#82CD6E
accent
#EC3B61
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9C22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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