#9C30BF#9C30BF

#9C30BF is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.219 H 316.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9C30BF
RGBrgb(156, 48, 191)
HSLhsl(285, 60%, 47%)
HSVhsv(285, 75%, 75%)
CMYKcmyk(18.3%, 74.9%, 0%, 25.1%)
CIE-LABlab(42.68, 63.84, -53.65)
CIE-LCHlch(42.68, 83.39, 319.96°)
OKLaboklab(53.42% 0.1582 -0.1511)
OKLCHoklch(53.42% 0.219 316.3)
XYZxyz(24.1698, 12.9444, 50.5055)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30BF #53BF30
analogous
#5530BF #9C30BF #BF309B
triadic
#9C30BF #BF9C30 #30BF9C
tetradic
#9C30BF #BF5530 #53BF30 #309BBF
square
#9C30BF #BF5530 #53BF30 #309BBF
split-complementary
#9C30BF #9BBF30 #30BF55
monochromatic
#4C175D #74248E #9C30BF #B657D5 #CB88E1

Accessibility & contrast

On white

5.85
#9C30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9C30BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30BF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30BF#FFFFFF#000000##FFFFFF
##9C30BF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#2F68BC
Tritanopia (blue-blind)
#9A4F76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c30bf;
/* rgb */ color: rgb(156, 48, 191);
/* oklch */ color: oklch(53.4% 0.219 316.3);
Tailwind
colors: {
  custom: {
    50: '#bd74d3',
    500: '#9c30bf',
    950: '#000000',
  },
}
SCSS
$custom: #9c30bf;
$custom-light: #bd74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30bf",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 285.315,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53423,
    "c": 0.21874,
    "h": 316.3
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#9C30BF
secondary
#92CB80
accent
#E3456C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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