#9C30B5#9C30B5

#9C30B5 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.210 H 319.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9C30B5
RGBrgb(156, 48, 181)
HSLhsl(289, 58%, 45%)
HSVhsv(289, 73%, 71%)
CMYKcmyk(13.8%, 73.5%, 0%, 29%)
CIE-LABlab(42.03, 61.93, -48.82)
CIE-LCHlch(42.03, 78.86, 321.75°)
OKLaboklab(52.76% 0.1593 -0.137)
OKLCHoklch(52.76% 0.21 319.3)
XYZxyz(23.1067, 12.5191, 44.9064)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30B5 #49B530
analogous
#5A30B5 #9C30B5 #B5308B
triadic
#9C30B5 #B59C30 #30B59C
tetradic
#9C30B5 #B55A30 #49B530 #308BB5
square
#9C30B5 #B55A30 #49B530 #308BB5
split-complementary
#9C30B5 #8BB530 #30B55A
monochromatic
#491654 #722385 #9C30B5 #B951D1 #CC82DE

Accessibility & contrast

On white

5.99
#9C30B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9C30B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30B5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30B5#FFFFFF#000000##FFFFFF
##9C30B51.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#3A67B2
Tritanopia (blue-blind)
#9C4B70
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c30b5;
/* rgb */ color: rgb(156, 48, 181);
/* oklch */ color: oklch(52.8% 0.210 319.3);
Tailwind
colors: {
  custom: {
    50: '#bd73cc',
    500: '#9c30b5',
    950: '#000000',
  },
}
SCSS
$custom: #9c30b5;
$custom-light: #bd73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30b5",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 288.722,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52755,
    "c": 0.21006,
    "h": 319.3
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#9C30B5
secondary
#88C77A
accent
#E14664
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9C30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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