#9C30A4#9C30A4

#9C30A4 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.196 H 325.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9C30A4
RGBrgb(156, 48, 164)
HSLhsl(296, 55%, 42%)
HSVhsv(296, 71%, 64%)
CMYKcmyk(4.9%, 70.7%, 0%, 35.7%)
CIE-LABlab(41.00, 58.82, -40.37)
CIE-LCHlch(41.00, 71.34, 325.53°)
OKLaboklab(51.69% 0.1601 -0.1123)
OKLCHoklch(51.69% 0.196 325)
XYZxyz(21.4676, 11.8635, 36.2739)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30A4 #38A430
analogous
#6230A4 #9C30A4 #A43072
triadic
#9C30A4 #A49C30 #30A49C
tetradic
#9C30A4 #A46230 #38A430 #3072A4
square
#9C30A4 #A46230 #38A430 #3072A4
split-complementary
#9C30A4 #72A430 #30A462
monochromatic
#421445 #6F2275 #9C30A4 #C048C9 #D177D7

Accessibility & contrast

On white

6.23
#9C30A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9C30A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30A4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30A4#FFFFFF#000000##FFFFFF
##9C30A41.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1158A7
Deuteranopia (green-blind)
#4765A1
Tritanopia (blue-blind)
#9F4367
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c30a4;
/* rgb */ color: rgb(156, 48, 164);
/* oklch */ color: oklch(51.7% 0.196 325.0);
Tailwind
colors: {
  custom: {
    50: '#bd73bf',
    500: '#9c30a4',
    950: '#000000',
  },
}
SCSS
$custom: #9c30a4;
$custom-light: #bd73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30a4",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 295.862,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51688,
    "c": 0.19559,
    "h": 325
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#9C30A4
secondary
#76BF70
accent
#DE4A54
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C30A4

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

Preview Lab → · Contrast checker → · Palette generator →

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