#9C30A6#9C30A6

#9C30A6 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.197 H 324.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9C30A6
RGBrgb(156, 48, 166)
HSLhsl(295, 55%, 42%)
HSVhsv(295, 71%, 65%)
CMYKcmyk(6%, 71.1%, 0%, 34.9%)
CIE-LABlab(41.11, 59.17, -41.38)
CIE-LCHlch(41.11, 72.21, 325.03°)
OKLaboklab(51.81% 0.1601 -0.1152)
OKLCHoklch(51.81% 0.197 324.3)
XYZxyz(21.6496, 11.9363, 37.2326)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30A6 #3AA630
analogous
#6130A6 #9C30A6 #A63075
triadic
#9C30A6 #A69C30 #30A69C
tetradic
#9C30A6 #A66130 #3AA630 #3075A6
square
#9C30A6 #A66130 #3AA630 #3075A6
split-complementary
#9C30A6 #75A630 #30A661
monochromatic
#431547 #6F2277 #9C30A6 #BF49CA #D078D8

Accessibility & contrast

On white

6.20
#9C30A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9C30A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30A6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30A6#FFFFFF#000000##FFFFFF
##9C30A61.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C59A9
Deuteranopia (green-blind)
#4665A3
Tritanopia (blue-blind)
#9F4468
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c30a6;
/* rgb */ color: rgb(156, 48, 166);
/* oklch */ color: oklch(51.8% 0.197 324.3);
Tailwind
colors: {
  custom: {
    50: '#bd73c1',
    500: '#9c30a6',
    950: '#000000',
  },
}
SCSS
$custom: #9c30a6;
$custom-light: #bd73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30a6",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 294.915,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51809,
    "c": 0.19726,
    "h": 324.3
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#9C30A6
secondary
#78C071
accent
#DE4956
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C30A6

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

Preview Lab → · Contrast checker → · Palette generator →

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