#9B22A0#9B22A0

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

Color values

HEX#9B22A0
RGBrgb(155, 34, 160)
HSLhsl(298, 65%, 38%)
HSVhsv(298, 79%, 63%)
CMYKcmyk(3.1%, 78.8%, 0%, 37.3%)
CIE-LABlab(38.99, 62.51, -41.19)
CIE-LCHlch(38.99, 74.86, 326.62°)
OKLaboklab(50.15% 0.172 -0.1146)
OKLCHoklch(50.15% 0.207 326.3)
XYZxyz(20.4344, 10.6521, 34.2307)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B22A0 #27A022
analogous
#5C22A0 #9B22A0 #A02266
triadic
#9B22A0 #A09B22 #22A09B
tetradic
#9B22A0 #A05C22 #27A022 #2266A0
square
#9B22A0 #A05C22 #27A022 #2266A0
split-complementary
#9B22A0 #66A022 #22A05C
monochromatic
#390D3B #6A176E #9B22A0 #CC2DD2 #D85FDD

Accessibility & contrast

On white

6.71
#9B22A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9B22A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B22A0
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B22A0#FFFFFF#000000##FFFFFF
##9B22A01.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#42619D
Tritanopia (blue-blind)
#9F3961
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b22a0;
/* rgb */ color: rgb(155, 34, 160);
/* oklch */ color: oklch(50.1% 0.207 326.3);
Tailwind
colors: {
  custom: {
    50: '#bc6cbd',
    500: '#9b22a0',
    950: '#000000',
  },
}
SCSS
$custom: #9b22a0;
$custom-light: #bc6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b22a0",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 297.619,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50146,
    "c": 0.20665,
    "h": 326.3
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#9B22A0
secondary
#60C25C
accent
#E84047
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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