#9B22BD#9B22BD

#9B22BD is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.1% C 0.230 H 317.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9B22BD
RGBrgb(155, 34, 189)
HSLhsl(287, 70%, 44%)
HSVhsv(287, 82%, 74%)
CMYKcmyk(18%, 82%, 0%, 25.9%)
CIE-LABlab(40.88, 67.65, -55.39)
CIE-LCHlch(40.88, 87.43, 320.69°)
OKLaboklab(52.08% 0.1684 -0.1562)
OKLCHoklch(52.08% 0.23 317.2)
XYZxyz(23.2735, 11.7878, 49.1836)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B22BD #44BD22
analogous
#4D22BD #9B22BD #BD2291
triadic
#9B22BD #BD9B22 #22BD9B
tetradic
#9B22BD #BD4D22 #44BD22 #2291BD
square
#9B22BD #BD4D22 #44BD22 #2291BD
split-complementary
#9B22BD #91BD22 #22BD4D
monochromatic
#460F55 #701989 #9B22BD #BA40DD #CD73E6

Accessibility & contrast

On white

6.25
#9B22BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9B22BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B22BD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B22BD#FFFFFF#000000##FFFFFF
##9B22BD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#994872
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b22bd;
/* rgb */ color: rgb(155, 34, 189);
/* oklch */ color: oklch(52.1% 0.230 317.2);
Tailwind
colors: {
  custom: {
    50: '#bd6ed2',
    500: '#9b22bd',
    950: '#000000',
  },
}
SCSS
$custom: #9b22bd;
$custom-light: #bd6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b22bd",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 286.839,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52079,
    "c": 0.22968,
    "h": 317.2
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#9B22BD
secondary
#83CD6E
accent
#EC3B62
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9B22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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