#9B22CA#9B22CA

#9B22CA is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 53.0% C 0.240 H 313.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9B22CA
RGBrgb(155, 34, 202)
HSLhsl(283, 71%, 46%)
HSVhsv(283, 83%, 79%)
CMYKcmyk(23.3%, 83.2%, 0%, 20.8%)
CIE-LABlab(41.81, 70.10, -61.47)
CIE-LCHlch(41.81, 93.23, 318.75°)
OKLaboklab(53.03% 0.1657 -0.174)
OKLCHoklch(53.03% 0.24 313.6)
XYZxyz(24.7484, 12.3777, 56.9511)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B22CA #51CA22
analogous
#4722CA #9B22CA #CA22A5
triadic
#9B22CA #CA9B22 #22CA9B
tetradic
#9B22CA #CA4722 #51CA22 #22A5CA
square
#9B22CA #CA4722 #51CA22 #22A5CA
split-complementary
#9B22CA #A5CA22 #22CA47
monochromatic
#4B1061 #731996 #9B22CA #B649E0 #CB7DE9

Accessibility & contrast

On white

6.04
#9B22CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9B22CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B22CA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B22CA#FFFFFF#000000##FFFFFF
##9B22CA1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#964E79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b22ca;
/* rgb */ color: rgb(155, 34, 202);
/* oklch */ color: oklch(53.0% 0.240 313.6);
Tailwind
colors: {
  custom: {
    50: '#be6fdb',
    500: '#9b22ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b22ca;
$custom-light: #be6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b22ca",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 202
  },
  "hsl": {
    "h": 283.214,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.24028,
    "h": 313.6
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#9B22CA
secondary
#90D177
accent
#EE3A6C
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9B22CA

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

Preview Lab → · Contrast checker → · Palette generator →

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