#9C30BB#9C30BB

#9C30BB is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.215 H 317.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9C30BB
RGBrgb(156, 48, 187)
HSLhsl(287, 59%, 46%)
HSVhsv(287, 74%, 73%)
CMYKcmyk(16.6%, 74.3%, 0%, 26.7%)
CIE-LABlab(42.42, 63.07, -51.73)
CIE-LCHlch(42.42, 81.57, 320.64°)
OKLaboklab(53.15% 0.1587 -0.1455)
OKLCHoklch(53.15% 0.215 317.5)
XYZxyz(23.7356, 12.7707, 48.2188)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30BB #4FBB30
analogous
#5630BB #9C30BB #BB3094
triadic
#9C30BB #BB9C30 #30BB9C
tetradic
#9C30BB #BB5630 #4FBB30 #3094BB
square
#9C30BB #BB5630 #4FBB30 #3094BB
split-complementary
#9C30BB #94BB30 #30BB56
monochromatic
#4B175A #73238A #9C30BB #B755D3 #CC86E0

Accessibility & contrast

On white

5.91
#9C30BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9C30BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30BB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30BB#FFFFFF#000000##FFFFFF
##9C30BB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#3467B8
Tritanopia (blue-blind)
#9B4D73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c30bb;
/* rgb */ color: rgb(156, 48, 187);
/* oklch */ color: oklch(53.2% 0.215 317.5);
Tailwind
colors: {
  custom: {
    50: '#bd73d0',
    500: '#9c30bb',
    950: '#000000',
  },
}
SCSS
$custom: #9c30bb;
$custom-light: #bd73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30bb",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 286.619,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53153,
    "c": 0.21526,
    "h": 317.5
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#9C30BB
secondary
#8EC97D
accent
#E24568
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9C30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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