#9B22A6#9B22A6

#9B22A6 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.211 H 324.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9B22A6
RGBrgb(155, 34, 166)
HSLhsl(295, 66%, 39%)
HSVhsv(295, 80%, 65%)
CMYKcmyk(6.6%, 79.5%, 0%, 34.9%)
CIE-LABlab(39.36, 63.53, -44.20)
CIE-LCHlch(39.36, 77.40, 325.17°)
OKLaboklab(50.53% 0.1715 -0.1234)
OKLCHoklch(50.53% 0.211 324.3)
XYZxyz(20.9720, 10.8672, 37.0620)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B22A6 #2DA622
analogous
#5922A6 #9B22A6 #A6226F
triadic
#9B22A6 #A69B22 #22A69B
tetradic
#9B22A6 #A65922 #2DA622 #226FA6
square
#9B22A6 #A65922 #2DA622 #226FA6
split-complementary
#9B22A6 #6FA622 #22A659
monochromatic
#3C0D40 #6C1873 #9B22A6 #C730D5 #D563DF

Accessibility & contrast

On white

6.62
#9B22A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9B22A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B22A6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B22A6#FFFFFF#000000##FFFFFF
##9B22A61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#3D61A3
Tritanopia (blue-blind)
#9E3C64
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b22a6;
/* rgb */ color: rgb(155, 34, 166);
/* oklch */ color: oklch(50.5% 0.211 324.3);
Tailwind
colors: {
  custom: {
    50: '#bc6dc1',
    500: '#9b22a6',
    950: '#000000',
  },
}
SCSS
$custom: #9b22a6;
$custom-light: #bc6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b22a6",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 295,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50525,
    "c": 0.21131,
    "h": 324.3
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#9B22A6
secondary
#68C45F
accent
#E93F4D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B22A6

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

Preview Lab → · Contrast checker → · Palette generator →

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