#9B22BC#9B22BC

#9B22BC is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 52.0% C 0.229 H 317.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9B22BC
RGBrgb(155, 34, 188)
HSLhsl(287, 69%, 44%)
HSVhsv(287, 82%, 74%)
CMYKcmyk(17.6%, 81.9%, 0%, 26.3%)
CIE-LABlab(40.81, 67.46, -54.92)
CIE-LCHlch(40.81, 86.99, 320.85°)
OKLaboklab(52.01% 0.1686 -0.1548)
OKLCHoklch(52.01% 0.229 317.4)
XYZxyz(23.1654, 11.7445, 48.6139)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B22BC #43BC22
analogous
#4E22BC #9B22BC #BC2290
triadic
#9B22BC #BC9B22 #22BC9B
tetradic
#9B22BC #BC4E22 #43BC22 #2290BC
square
#9B22BC #BC4E22 #43BC22 #2290BC
split-complementary
#9B22BC #90BC22 #22BC4E
monochromatic
#460F54 #701988 #9B22BC #BB3FDC #CD73E6

Accessibility & contrast

On white

6.27
#9B22BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9B22BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B22BC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B22BC#FFFFFF#000000##FFFFFF
##9B22BC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#2664B9
Tritanopia (blue-blind)
#994771
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b22bc;
/* rgb */ color: rgb(155, 34, 188);
/* oklch */ color: oklch(52.0% 0.229 317.4);
Tailwind
colors: {
  custom: {
    50: '#bd6ed1',
    500: '#9b22bc',
    950: '#000000',
  },
}
SCSS
$custom: #9b22bc;
$custom-light: #bd6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b22bc",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 287.143,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52009,
    "c": 0.22886,
    "h": 317.4
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#9B22BC
secondary
#82CD6D
accent
#EC3C61
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9B22BC

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

Preview Lab → · Contrast checker → · Palette generator →

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