#9B22A5#9B22A5

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

Color values

HEX#9B22A5
RGBrgb(155, 34, 165)
HSLhsl(295, 66%, 39%)
HSVhsv(295, 79%, 65%)
CMYKcmyk(6.1%, 79.4%, 0%, 35.3%)
CIE-LABlab(39.29, 63.36, -43.70)
CIE-LCHlch(39.29, 76.97, 325.41°)
OKLaboklab(50.46% 0.1716 -0.1219)
OKLCHoklch(50.46% 0.211 324.6)
XYZxyz(20.8806, 10.8306, 36.5807)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B22A5 #2CA522
analogous
#5A22A5 #9B22A5 #A5226E
triadic
#9B22A5 #A59B22 #22A59B
tetradic
#9B22A5 #A55A22 #2CA522 #226EA5
square
#9B22A5 #A55A22 #2CA522 #226EA5
split-complementary
#9B22A5 #6EA522 #22A55A
monochromatic
#3C0D40 #6B1872 #9B22A5 #C830D4 #D563DF

Accessibility & contrast

On white

6.63
#9B22A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B22A5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B22A5#FFFFFF#000000##FFFFFF
##9B22A51.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#3E61A2
Tritanopia (blue-blind)
#9E3C64
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b22a5;
/* rgb */ color: rgb(155, 34, 165);
/* oklch */ color: oklch(50.5% 0.211 324.6);
Tailwind
colors: {
  custom: {
    50: '#bc6dc0',
    500: '#9b22a5',
    950: '#000000',
  },
}
SCSS
$custom: #9b22a5;
$custom-light: #bc6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b22a5",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 295.42,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50461,
    "c": 0.21053,
    "h": 324.6
  },
  "luminance": 0.10829
}

Semantic roles & 50–950 ramp

primary
#9B22A5
secondary
#67C45F
accent
#E93F4C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B22A5

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

Preview Lab → · Contrast checker → · Palette generator →

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