#9C30BE#9C30BE

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

Color values

HEX#9C30BE
RGBrgb(156, 48, 190)
HSLhsl(286, 60%, 47%)
HSVhsv(286, 75%, 75%)
CMYKcmyk(17.9%, 74.7%, 0%, 25.5%)
CIE-LABlab(42.61, 63.65, -53.17)
CIE-LCHlch(42.61, 82.94, 320.13°)
OKLaboklab(53.36% 0.1583 -0.1497)
OKLCHoklch(53.36% 0.218 316.6)
XYZxyz(24.0601, 12.9005, 49.9279)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30BE #52BE30
analogous
#5530BE #9C30BE #BE3099
triadic
#9C30BE #BE9C30 #30BE9C
tetradic
#9C30BE #BE5530 #52BE30 #3099BE
square
#9C30BE #BE5530 #52BE30 #3099BE
split-complementary
#9C30BE #99BE30 #30BE55
monochromatic
#4C175C #74248D #9C30BE #B657D4 #CB88E1

Accessibility & contrast

On white

5.87
#9C30BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9C30BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30BE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30BE#FFFFFF#000000##FFFFFF
##9C30BE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#3168BB
Tritanopia (blue-blind)
#9A4F75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c30be;
/* rgb */ color: rgb(156, 48, 190);
/* oklch */ color: oklch(53.4% 0.218 316.6);
Tailwind
colors: {
  custom: {
    50: '#bd74d2',
    500: '#9c30be',
    950: '#000000',
  },
}
SCSS
$custom: #9c30be;
$custom-light: #bd74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30be",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 190
  },
  "hsl": {
    "h": 285.634,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53355,
    "c": 0.21787,
    "h": 316.6
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#9C30BE
secondary
#91CB7F
accent
#E3456B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C30BE

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

Preview Lab → · Contrast checker → · Palette generator →

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