#9C30C7#9C30C7

#9C30C7 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.226 H 314.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9C30C7
RGBrgb(156, 48, 199)
HSLhsl(283, 61%, 48%)
HSVhsv(283, 76%, 78%)
CMYKcmyk(21.6%, 75.9%, 0%, 22%)
CIE-LABlab(43.22, 65.41, -57.44)
CIE-LCHlch(43.22, 87.05, 318.72°)
OKLaboklab(53.98% 0.157 -0.1622)
OKLCHoklch(53.98% 0.226 314.1)
XYZxyz(25.0743, 13.3062, 55.2693)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30C7 #5BC730
analogous
#5030C7 #9C30C7 #C730A6
triadic
#9C30C7 #C79C30 #30C79C
tetradic
#9C30C7 #C75030 #5BC730 #30A6C7
square
#9C30C7 #C75030 #5BC730 #30A6C7
split-complementary
#9C30C7 #A6C730 #30C750
monochromatic
#4F1864 #752496 #9C30C7 #B55CD8 #CB8EE4

Accessibility & contrast

On white

5.74
#9C30C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9C30C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30C7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30C7#FFFFFF#000000##FFFFFF
##9C30C71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#2469C4
Tritanopia (blue-blind)
#98537A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9c30c7;
/* rgb */ color: rgb(156, 48, 199);
/* oklch */ color: oklch(54.0% 0.226 314.1);
Tailwind
colors: {
  custom: {
    50: '#be74d9',
    500: '#9c30c7',
    950: '#000000',
  },
}
SCSS
$custom: #9c30c7;
$custom-light: #be74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30c7",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 282.914,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53978,
    "c": 0.22575,
    "h": 314.1
  },
  "luminance": 0.13305
}

Semantic roles & 50–950 ramp

primary
#9C30C7
secondary
#9ACE85
accent
#E44471
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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