#9C33B2#9C33B2

#9C33B2 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.8% C 0.204 H 320.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9C33B2
RGBrgb(156, 51, 178)
HSLhsl(290, 55%, 45%)
HSVhsv(290, 71%, 70%)
CMYKcmyk(12.4%, 71.3%, 0%, 30.2%)
CIE-LABlab(42.23, 60.25, -46.72)
CIE-LCHlch(42.23, 76.25, 322.21°)
OKLaboklab(52.84% 0.1566 -0.1308)
OKLCHoklch(52.84% 0.204 320.1)
XYZxyz(22.9290, 12.6511, 43.3450)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C33B2 #49B233
analogous
#5C33B2 #9C33B2 #B23389
triadic
#9C33B2 #B29C33 #33B29C
tetradic
#9C33B2 #B25C33 #49B233 #3389B2
square
#9C33B2 #B25C33 #49B233 #3389B2
split-complementary
#9C33B2 #89B233 #33B25C
monochromatic
#491853 #722582 #9C33B2 #B954CE #CC84DC

Accessibility & contrast

On white

5.95
#9C33B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9C33B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C33B2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C33B2#FFFFFF#000000##FFFFFF
##9C33B21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3F67AF
Tritanopia (blue-blind)
#9D4B6F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c33b2;
/* rgb */ color: rgb(156, 51, 178);
/* oklch */ color: oklch(52.8% 0.204 320.1);
Tailwind
colors: {
  custom: {
    50: '#bd74ca',
    500: '#9c33b2',
    950: '#000000',
  },
}
SCSS
$custom: #9c33b2;
$custom-light: #bd74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9c33b2",
  "rgb": {
    "r": 156,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 289.606,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5284,
    "c": 0.20403,
    "h": 320.1
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#9C33B2
secondary
#88C57C
accent
#DF4963
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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