#9B33AD#9B33AD

#9B33AD is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.199 H 321.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9B33AD
RGBrgb(155, 51, 173)
HSLhsl(291, 54%, 44%)
HSVhsv(291, 71%, 68%)
CMYKcmyk(10.4%, 70.5%, 0%, 32.2%)
CIE-LABlab(41.77, 59.10, -44.51)
CIE-LCHlch(41.77, 73.98, 323.02°)
OKLaboklab(52.38% 0.1556 -0.1244)
OKLCHoklch(52.38% 0.199 321.4)
XYZxyz(22.2434, 12.3545, 40.7401)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B33AD #45AD33
analogous
#5E33AD #9B33AD #AD3382
triadic
#9B33AD #AD9B33 #33AD9B
tetradic
#9B33AD #AD5E33 #45AD33 #3382AD
square
#9B33AD #AD5E33 #45AD33 #3382AD
split-complementary
#9B33AD #82AD33 #33AD5E
monochromatic
#46174E #71257E #9B33AD #BA51CC #CD81DA

Accessibility & contrast

On white

6.05
#9B33AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9B33AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B33AD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B33AD#FFFFFF#000000##FFFFFF
##9B33AD1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#4166AA
Tritanopia (blue-blind)
#9C496C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b33ad;
/* rgb */ color: rgb(155, 51, 173);
/* oklch */ color: oklch(52.4% 0.199 321.4);
Tailwind
colors: {
  custom: {
    50: '#bc74c6',
    500: '#9b33ad',
    950: '#000000',
  },
}
SCSS
$custom: #9b33ad;
$custom-light: #bc74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b33ad",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 173
  },
  "hsl": {
    "h": 291.148,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52384,
    "c": 0.19924,
    "h": 321.4
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#9B33AD
secondary
#84C379
accent
#DE4A60
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B33AD

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

Preview Lab → · Contrast checker → · Palette generator →

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