#9C30BD#9C30BD

#9C30BD is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.217 H 316.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9C30BD
RGBrgb(156, 48, 189)
HSLhsl(286, 59%, 46%)
HSVhsv(286, 75%, 74%)
CMYKcmyk(17.5%, 74.6%, 0%, 25.9%)
CIE-LABlab(42.55, 63.46, -52.69)
CIE-LCHlch(42.55, 82.48, 320.30°)
OKLaboklab(53.29% 0.1584 -0.1483)
OKLCHoklch(53.29% 0.217 316.9)
XYZxyz(23.9512, 12.8570, 49.3543)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30BD #51BD30
analogous
#5530BD #9C30BD #BD3098
triadic
#9C30BD #BD9C30 #30BD9C
tetradic
#9C30BD #BD5530 #51BD30 #3098BD
square
#9C30BD #BD5530 #51BD30 #3098BD
split-complementary
#9C30BD #98BD30 #30BD55
monochromatic
#4B175B #74248C #9C30BD #B756D4 #CC87E0

Accessibility & contrast

On white

5.88
#9C30BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9C30BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30BD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30BD#FFFFFF#000000##FFFFFF
##9C30BD1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#9A4E75
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c30bd;
/* rgb */ color: rgb(156, 48, 189);
/* oklch */ color: oklch(53.3% 0.217 316.9);
Tailwind
colors: {
  custom: {
    50: '#bd74d2',
    500: '#9c30bd',
    950: '#000000',
  },
}
SCSS
$custom: #9c30bd;
$custom-light: #bd74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30bd",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 285.957,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53288,
    "c": 0.217,
    "h": 316.9
  },
  "luminance": 0.12856
}

Semantic roles & 50–950 ramp

primary
#9C30BD
secondary
#90CA7F
accent
#E3456A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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