#9C30B2#9C30B2

#9C30B2 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.207 H 320.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9C30B2
RGBrgb(156, 48, 178)
HSLhsl(290, 58%, 44%)
HSVhsv(290, 73%, 70%)
CMYKcmyk(12.4%, 73%, 0%, 30.2%)
CIE-LABlab(41.84, 61.37, -47.35)
CIE-LCHlch(41.84, 77.51, 322.35°)
OKLaboklab(52.56% 0.1595 -0.1327)
OKLCHoklch(52.56% 0.207 320.2)
XYZxyz(22.8022, 12.3973, 43.3027)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30B2 #46B230
analogous
#5B30B2 #9C30B2 #B23087
triadic
#9C30B2 #B29C30 #30B29C
tetradic
#9C30B2 #B25B30 #46B230 #3087B2
square
#9C30B2 #B25B30 #46B230 #3087B2
split-complementary
#9C30B2 #87B230 #30B25B
monochromatic
#481652 #722382 #9C30B2 #BA50D0 #CD80DD

Accessibility & contrast

On white

6.04
#9C30B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9C30B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30B2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30B2#FFFFFF#000000##FFFFFF
##9C30B21.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3D66AF
Tritanopia (blue-blind)
#9D496E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c30b2;
/* rgb */ color: rgb(156, 48, 178);
/* oklch */ color: oklch(52.6% 0.207 320.2);
Tailwind
colors: {
  custom: {
    50: '#bd73ca',
    500: '#9c30b2',
    950: '#000000',
  },
}
SCSS
$custom: #9c30b2;
$custom-light: #bd73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30b2",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 289.846,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.20747,
    "h": 320.2
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#9C30B2
secondary
#85C678
accent
#E14761
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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