#9B33B2#9B33B2

#9B33B2 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.7% C 0.204 H 319.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9B33B2
RGBrgb(155, 51, 178)
HSLhsl(289, 55%, 45%)
HSVhsv(289, 71%, 70%)
CMYKcmyk(12.9%, 71.3%, 0%, 30.2%)
CIE-LABlab(42.08, 60.04, -46.98)
CIE-LCHlch(42.08, 76.23, 321.96°)
OKLaboklab(52.7% 0.1553 -0.1316)
OKLCHoklch(52.7% 0.204 319.7)
XYZxyz(22.7363, 12.5517, 43.3360)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B33B2 #4AB233
analogous
#5C33B2 #9B33B2 #B2338A
triadic
#9B33B2 #B29B33 #33B29B
tetradic
#9B33B2 #B25C33 #4AB233 #338AB2
square
#9B33B2 #B25C33 #4AB233 #338AB2
split-complementary
#9B33B2 #8AB233 #33B25C
monochromatic
#481853 #722582 #9B33B2 #B854CE #CC84DC

Accessibility & contrast

On white

5.98
#9B33B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9B33B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B33B2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B33B2#FFFFFF#000000##FFFFFF
##9B33B21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3D67AF
Tritanopia (blue-blind)
#9B4B6F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b33b2;
/* rgb */ color: rgb(155, 51, 178);
/* oklch */ color: oklch(52.7% 0.204 319.7);
Tailwind
colors: {
  custom: {
    50: '#bc74ca',
    500: '#9b33b2',
    950: '#000000',
  },
}
SCSS
$custom: #9b33b2;
$custom-light: #bc74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b33b2",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 289.134,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.527,
    "c": 0.20361,
    "h": 319.7
  },
  "luminance": 0.12551
}

Semantic roles & 50–950 ramp

primary
#9B33B2
secondary
#89C57C
accent
#DF4964
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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