#9B22A9#9B22A9

#9B22A9 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.214 H 323.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9B22A9
RGBrgb(155, 34, 169)
HSLhsl(294, 67%, 40%)
HSVhsv(294, 80%, 66%)
CMYKcmyk(8.3%, 79.9%, 0%, 33.7%)
CIE-LABlab(39.54, 64.05, -45.69)
CIE-LCHlch(39.54, 78.68, 324.50°)
OKLaboklab(50.72% 0.1713 -0.1277)
OKLCHoklch(50.72% 0.214 323.3)
XYZxyz(21.2504, 10.9785, 38.5282)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B22A9 #30A922
analogous
#5822A9 #9B22A9 #A92273
triadic
#9B22A9 #A99B22 #22A99B
tetradic
#9B22A9 #A95822 #30A922 #2273A9
square
#9B22A9 #A95822 #30A922 #2273A9
split-complementary
#9B22A9 #73A922 #22A958
monochromatic
#3E0D43 #6C1876 #9B22A9 #C532D6 #D365E0

Accessibility & contrast

On white

6.57
#9B22A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9B22A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B22A9
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B22A9#FFFFFF#000000##FFFFFF
##9B22A91.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#3B62A6
Tritanopia (blue-blind)
#9D3E66
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b22a9;
/* rgb */ color: rgb(155, 34, 169);
/* oklch */ color: oklch(50.7% 0.214 323.3);
Tailwind
colors: {
  custom: {
    50: '#bd6dc3',
    500: '#9b22a9',
    950: '#000000',
  },
}
SCSS
$custom: #9b22a9;
$custom-light: #bd6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b22a9",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 293.778,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50718,
    "c": 0.21367,
    "h": 323.3
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#9B22A9
secondary
#6CC561
accent
#E93E50
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9B22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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