#9A33AB#9A33AB

#9A33AB is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.197 H 321.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9A33AB
RGBrgb(154, 51, 171)
HSLhsl(292, 54%, 44%)
HSVhsv(292, 70%, 67%)
CMYKcmyk(9.9%, 70.2%, 0%, 32.9%)
CIE-LABlab(41.50, 58.50, -43.77)
CIE-LCHlch(41.50, 73.06, 323.20°)
OKLaboklab(52.12% 0.1545 -0.1223)
OKLCHoklch(52.12% 0.197 321.6)
XYZxyz(21.8601, 12.1791, 39.7195)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A33AB #44AB33
analogous
#5E33AB #9A33AB #AB3380
triadic
#9A33AB #AB9A33 #33AB9A
tetradic
#9A33AB #AB5E33 #44AB33 #3380AB
square
#9A33AB #AB5E33 #44AB33 #3380AB
split-complementary
#9A33AB #80AB33 #33AB5E
monochromatic
#45174D #70257C #9A33AB #BA50CB #CC7FD9

Accessibility & contrast

On white

6.11
#9A33AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9A33AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A33AB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A33AB#FFFFFF#000000##FFFFFF
##9A33AB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025BAE
Deuteranopia (green-blind)
#4266A8
Tritanopia (blue-blind)
#9C486B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a33ab;
/* rgb */ color: rgb(154, 51, 171);
/* oklch */ color: oklch(52.1% 0.197 321.6);
Tailwind
colors: {
  custom: {
    50: '#bb74c4',
    500: '#9a33ab',
    950: '#000000',
  },
}
SCSS
$custom: #9a33ab;
$custom-light: #bb74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a33ab",
  "rgb": {
    "r": 154,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 291.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.19705,
    "h": 321.6
  },
  "luminance": 0.12178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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