#9B33AC#9B33AC

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

Color values

HEX#9B33AC
RGBrgb(155, 51, 172)
HSLhsl(292, 54%, 44%)
HSVhsv(292, 70%, 67%)
CMYKcmyk(9.9%, 70.3%, 0%, 32.5%)
CIE-LABlab(41.71, 58.91, -44.01)
CIE-LCHlch(41.71, 73.53, 323.24°)
OKLaboklab(52.32% 0.1557 -0.1229)
OKLCHoklch(52.32% 0.198 321.7)
XYZxyz(22.1470, 12.3160, 40.2324)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B33AC #44AC33
analogous
#5E33AC #9B33AC #AC3380
triadic
#9B33AC #AC9B33 #33AC9B
tetradic
#9B33AC #AC5E33 #44AC33 #3380AC
square
#9B33AC #AC5E33 #44AC33 #3380AC
split-complementary
#9B33AC #80AC33 #33AC5E
monochromatic
#46174E #70257D #9B33AC #BA51CB #CD80D9

Accessibility & contrast

On white

6.06
#9B33AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B33AC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B33AC#FFFFFF#000000##FFFFFF
##9B33AC1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015BAF
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#9D496C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b33ac;
/* rgb */ color: rgb(155, 51, 172);
/* oklch */ color: oklch(52.3% 0.198 321.7);
Tailwind
colors: {
  custom: {
    50: '#bc74c5',
    500: '#9b33ac',
    950: '#000000',
  },
}
SCSS
$custom: #9b33ac;
$custom-light: #bc74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b33ac",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 291.57,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52321,
    "c": 0.19836,
    "h": 321.7
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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