#9C30AF#9C30AF

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

Color values

HEX#9C30AF
RGBrgb(156, 48, 175)
HSLhsl(291, 57%, 44%)
HSVhsv(291, 73%, 69%)
CMYKcmyk(10.9%, 72.6%, 0%, 31.4%)
CIE-LABlab(41.65, 60.81, -45.87)
CIE-LCHlch(41.65, 76.17, 322.97°)
OKLaboklab(52.37% 0.1597 -0.1283)
OKLCHoklch(52.37% 0.205 321.2)
XYZxyz(22.5042, 12.2782, 41.7337)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30AF #43AF30
analogous
#5C30AF #9C30AF #AF3082
triadic
#9C30AF #AF9C30 #30AF9C
tetradic
#9C30AF #AF5C30 #43AF30 #3082AF
square
#9C30AF #AF5C30 #43AF30 #3082AF
split-complementary
#9C30AF #82AF30 #30AF5C
monochromatic
#46164F #71237F #9C30AF #BB4ECE #CE7EDC

Accessibility & contrast

On white

6.08
#9C30AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C30AF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30AF#FFFFFF#000000##FFFFFF
##9C30AF1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c30af;
/* rgb */ color: rgb(156, 48, 175);
/* oklch */ color: oklch(52.4% 0.205 321.2);
Tailwind
colors: {
  custom: {
    50: '#bd73c7',
    500: '#9c30af',
    950: '#000000',
  },
}
SCSS
$custom: #9c30af;
$custom-light: #bd73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30af",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 291.024,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52369,
    "c": 0.20489,
    "h": 321.2
  },
  "luminance": 0.12277
}

Semantic roles & 50–950 ramp

primary
#9C30AF
secondary
#82C476
accent
#E0485E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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