#9C30B1#9C30B1

#9C30B1 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.207 H 320.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9C30B1
RGBrgb(156, 48, 177)
HSLhsl(290, 57%, 44%)
HSVhsv(290, 73%, 69%)
CMYKcmyk(11.9%, 72.9%, 0%, 30.6%)
CIE-LABlab(41.78, 61.18, -46.86)
CIE-LCHlch(41.78, 77.07, 322.55°)
OKLaboklab(52.5% 0.1596 -0.1312)
OKLCHoklch(52.5% 0.207 320.6)
XYZxyz(22.7021, 12.3573, 42.7759)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30B1 #45B130
analogous
#5C30B1 #9C30B1 #B13085
triadic
#9C30B1 #B19C30 #30B19C
tetradic
#9C30B1 #B15C30 #45B130 #3085B1
square
#9C30B1 #B15C30 #45B130 #3085B1
split-complementary
#9C30B1 #85B130 #30B15C
monochromatic
#471651 #722381 #9C30B1 #BA4FCF #CD7FDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C30B1#FFFFFF#000000##FFFFFF
##9C30B11.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)
#005BB5
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#9D496E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c30b1;
/* rgb */ color: rgb(156, 48, 177);
/* oklch */ color: oklch(52.5% 0.207 320.6);
Tailwind
colors: {
  custom: {
    50: '#bd73c9',
    500: '#9c30b1',
    950: '#000000',
  },
}
SCSS
$custom: #9c30b1;
$custom-light: #bd73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30b1",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 290.233,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52496,
    "c": 0.20661,
    "h": 320.6
  },
  "luminance": 0.12356
}

Semantic roles & 50–950 ramp

primary
#9C30B1
secondary
#84C578
accent
#E14760
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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