#9B33AB#9B33AB

#9B33AB is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.198 H 322.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9B33AB
RGBrgb(155, 51, 171)
HSLhsl(292, 54%, 44%)
HSVhsv(292, 70%, 67%)
CMYKcmyk(9.4%, 70.2%, 0%, 32.9%)
CIE-LABlab(41.65, 58.72, -43.51)
CIE-LCHlch(41.65, 73.09, 323.46°)
OKLaboklab(52.26% 0.1557 -0.1215)
OKLCHoklch(52.26% 0.198 322)
XYZxyz(22.0513, 12.2777, 39.7285)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B33AB #43AB33
analogous
#5F33AB #9B33AB #AB337F
triadic
#9B33AB #AB9B33 #33AB9B
tetradic
#9B33AB #AB5F33 #43AB33 #337FAB
square
#9B33AB #AB5F33 #43AB33 #337FAB
split-complementary
#9B33AB #7FAB33 #33AB5F
monochromatic
#46174D #70257C #9B33AB #BB50CB #CD7FD9

Accessibility & contrast

On white

6.08
#9B33AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9B33AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B33AB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B33AB#FFFFFF#000000##FFFFFF
##9B33AB1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045BAE
Deuteranopia (green-blind)
#4366A8
Tritanopia (blue-blind)
#9D486B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b33ab;
/* rgb */ color: rgb(155, 51, 171);
/* oklch */ color: oklch(52.3% 0.198 322.0);
Tailwind
colors: {
  custom: {
    50: '#bc74c4',
    500: '#9b33ab',
    950: '#000000',
  },
}
SCSS
$custom: #9b33ab;
$custom-light: #bc74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b33ab",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 292,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52259,
    "c": 0.1975,
    "h": 322
  },
  "luminance": 0.12276
}

Semantic roles & 50–950 ramp

primary
#9B33AB
secondary
#82C278
accent
#DD4A5E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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