#9B30AC#9B30AC

#9B30AC is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.0% C 0.202 H 321.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9B30AC
RGBrgb(155, 48, 172)
HSLhsl(292, 56%, 43%)
HSVhsv(292, 72%, 67%)
CMYKcmyk(9.9%, 72.1%, 0%, 32.5%)
CIE-LABlab(41.31, 60.04, -44.65)
CIE-LCHlch(41.31, 74.82, 323.37°)
OKLaboklab(52.04% 0.1587 -0.1248)
OKLCHoklch(52.04% 0.202 321.8)
XYZxyz(22.0201, 12.0622, 40.1901)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B30AC #41AC30
analogous
#5D30AC #9B30AC #AC307F
triadic
#9B30AC #AC9B30 #30AC9B
tetradic
#9B30AC #AC5D30 #41AC30 #307FAC
square
#9B30AC #AC5D30 #41AC30 #307FAC
split-complementary
#9B30AC #7FAC30 #30AC5D
monochromatic
#45154C #70237C #9B30AC #BB4CCD #CD7CDA

Accessibility & contrast

On white

6.15
#9B30AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9B30AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B30AC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B30AC#FFFFFF#000000##FFFFFF
##9B30AC1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4065A9
Tritanopia (blue-blind)
#9D476B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b30ac;
/* rgb */ color: rgb(155, 48, 172);
/* oklch */ color: oklch(52.0% 0.202 321.8);
Tailwind
colors: {
  custom: {
    50: '#bc73c5',
    500: '#9b30ac',
    950: '#000000',
  },
}
SCSS
$custom: #9b30ac;
$custom-light: #bc73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b30ac",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 291.774,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.2019,
    "h": 321.8
  },
  "luminance": 0.12061
}

Semantic roles & 50–950 ramp

primary
#9B30AC
secondary
#80C375
accent
#E0485D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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