#9A33AC#9A33AC

#9A33AC is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.198 H 321.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9A33AC
RGBrgb(154, 51, 172)
HSLhsl(291, 54%, 44%)
HSVhsv(291, 70%, 67%)
CMYKcmyk(10.5%, 70.3%, 0%, 32.5%)
CIE-LABlab(41.56, 58.69, -44.27)
CIE-LCHlch(41.56, 73.51, 322.97°)
OKLaboklab(52.18% 0.1545 -0.1237)
OKLCHoklch(52.18% 0.198 321.3)
XYZxyz(21.9558, 12.2174, 40.2234)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A33AC #45AC33
analogous
#5D33AC #9A33AC #AC3381
triadic
#9A33AC #AC9A33 #33AC9A
tetradic
#9A33AC #AC5D33 #45AC33 #3381AC
square
#9A33AC #AC5D33 #45AC33 #3381AC
split-complementary
#9A33AC #81AC33 #33AC5D
monochromatic
#45174E #70257D #9A33AC #B951CB #CC80D9

Accessibility & contrast

On white

6.10
#9A33AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A33AC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A33AC#FFFFFF#000000##FFFFFF
##9A33AC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#4166A9
Tritanopia (blue-blind)
#9B496C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a33ac;
/* rgb */ color: rgb(154, 51, 172);
/* oklch */ color: oklch(52.2% 0.198 321.3);
Tailwind
colors: {
  custom: {
    50: '#bb74c5',
    500: '#9a33ac',
    950: '#000000',
  },
}
SCSS
$custom: #9a33ac;
$custom-light: #bb74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a33ac",
  "rgb": {
    "r": 154,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 291.074,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5218,
    "c": 0.19792,
    "h": 321.3
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#9A33AC
secondary
#83C278
accent
#DE4A60
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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