#9B22AF#9B22AF

#9B22AF is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.218 H 321.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9B22AF
RGBrgb(155, 34, 175)
HSLhsl(291, 67%, 41%)
HSVhsv(291, 81%, 69%)
CMYKcmyk(11.4%, 80.6%, 0%, 31.4%)
CIE-LABlab(39.93, 65.11, -48.65)
CIE-LCHlch(39.93, 81.28, 323.23°)
OKLaboklab(51.11% 0.1706 -0.1364)
OKLCHoklch(51.11% 0.218 321.4)
XYZxyz(21.8266, 11.2090, 41.5630)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B22AF #36AF22
analogous
#5422AF #9B22AF #AF227C
triadic
#9B22AF #AF9B22 #22AF9B
tetradic
#9B22AF #AF5422 #36AF22 #227CAF
square
#9B22AF #AF5422 #36AF22 #227CAF
split-complementary
#9B22AF #7CAF22 #22AF54
monochromatic
#400E49 #6E187C #9B22AF #C136D8 #D169E2

Accessibility & contrast

On white

6.48
#9B22AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9B22AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B22AF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B22AF#FFFFFF#000000##FFFFFF
##9B22AF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#3662AC
Tritanopia (blue-blind)
#9C416A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b22af;
/* rgb */ color: rgb(155, 34, 175);
/* oklch */ color: oklch(51.1% 0.218 321.4);
Tailwind
colors: {
  custom: {
    50: '#bd6dc8',
    500: '#9b22af',
    950: '#000000',
  },
}
SCSS
$custom: #9b22af;
$custom-light: #bd6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b22af",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 291.489,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51114,
    "c": 0.21842,
    "h": 321.4
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#9B22AF
secondary
#73C865
accent
#EA3D56
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9B22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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