#9C30AE#9C30AE

#9C30AE is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.204 H 321.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9C30AE
RGBrgb(156, 48, 174)
HSLhsl(291, 57%, 44%)
HSVhsv(291, 72%, 68%)
CMYKcmyk(10.3%, 72.4%, 0%, 31.8%)
CIE-LABlab(41.59, 60.63, -45.38)
CIE-LCHlch(41.59, 75.73, 323.18°)
OKLaboklab(52.31% 0.1598 -0.1269)
OKLCHoklch(52.31% 0.204 321.5)
XYZxyz(22.4064, 12.2390, 41.2184)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30AE #42AE30
analogous
#5D30AE #9C30AE #AE3081
triadic
#9C30AE #AE9C30 #30AE9C
tetradic
#9C30AE #AE5D30 #42AE30 #3081AE
square
#9C30AE #AE5D30 #42AE30 #3081AE
split-complementary
#9C30AE #81AE30 #30AE5D
monochromatic
#46164E #71237E #9C30AE #BC4DCE #CE7DDB

Accessibility & contrast

On white

6.09
#9C30AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9C30AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30AE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30AE#FFFFFF#000000##FFFFFF
##9C30AE1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#4066AB
Tritanopia (blue-blind)
#9D486C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c30ae;
/* rgb */ color: rgb(156, 48, 174);
/* oklch */ color: oklch(52.3% 0.204 321.5);
Tailwind
colors: {
  custom: {
    50: '#bd73c7',
    500: '#9c30ae',
    950: '#000000',
  },
}
SCSS
$custom: #9c30ae;
$custom-light: #bd73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30ae",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 291.429,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.20404,
    "h": 321.5
  },
  "luminance": 0.12238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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