#9C30B0#9C30B0

#9C30B0 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.206 H 320.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9C30B0
RGBrgb(156, 48, 176)
HSLhsl(291, 57%, 44%)
HSVhsv(291, 73%, 69%)
CMYKcmyk(11.4%, 72.7%, 0%, 31%)
CIE-LABlab(41.72, 61.00, -46.37)
CIE-LCHlch(41.72, 76.62, 322.76°)
OKLaboklab(52.43% 0.1596 -0.1298)
OKLCHoklch(52.43% 0.206 320.9)
XYZxyz(22.6028, 12.3176, 42.2529)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30B0 #44B030
analogous
#5C30B0 #9C30B0 #B03084
triadic
#9C30B0 #B09C30 #30B09C
tetradic
#9C30B0 #B05C30 #44B030 #3084B0
square
#9C30B0 #B05C30 #44B030 #3084B0
split-complementary
#9C30B0 #84B030 #30B05C
monochromatic
#471650 #712380 #9C30B0 #BB4ECF #CD7EDC

Accessibility & contrast

On white

6.06
#9C30B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9C30B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30B0
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30B0#FFFFFF#000000##FFFFFF
##9C30B01.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#3E66AD
Tritanopia (blue-blind)
#9D486D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c30b0;
/* rgb */ color: rgb(156, 48, 176);
/* oklch */ color: oklch(52.4% 0.206 320.9);
Tailwind
colors: {
  custom: {
    50: '#bd73c8',
    500: '#9c30b0',
    950: '#000000',
  },
}
SCSS
$custom: #9c30b0;
$custom-light: #bd73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30b0",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 290.625,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52432,
    "c": 0.20575,
    "h": 320.9
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#9C30B0
secondary
#83C577
accent
#E0475F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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