#9C30C2#9C30C2

#9C30C2 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.221 H 315.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9C30C2
RGBrgb(156, 48, 194)
HSLhsl(284, 60%, 47%)
HSVhsv(284, 75%, 76%)
CMYKcmyk(19.6%, 75.3%, 0%, 23.9%)
CIE-LABlab(42.88, 64.43, -55.08)
CIE-LCHlch(42.88, 84.76, 319.48°)
OKLaboklab(53.63% 0.1578 -0.1553)
OKLCHoklch(53.63% 0.221 315.4)
XYZxyz(24.5033, 13.0778, 52.2620)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30C2 #56C230
analogous
#5330C2 #9C30C2 #C2309F
triadic
#9C30C2 #C29C30 #30C29C
tetradic
#9C30C2 #C25330 #56C230 #309FC2
square
#9C30C2 #C25330 #56C230 #309FC2
split-complementary
#9C30C2 #9FC230 #30C253
monochromatic
#4D1860 #752491 #9C30C2 #B659D6 #CB8AE2

Accessibility & contrast

On white

5.81
#9C30C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9C30C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30C2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30C2#FFFFFF#000000##FFFFFF
##9C30C21.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2B68BF
Tritanopia (blue-blind)
#995077
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c30c2;
/* rgb */ color: rgb(156, 48, 194);
/* oklch */ color: oklch(53.6% 0.221 315.4);
Tailwind
colors: {
  custom: {
    50: '#be74d5',
    500: '#9c30c2',
    950: '#000000',
  },
}
SCSS
$custom: #9c30c2;
$custom-light: #be74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30c2",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 284.384,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53629,
    "c": 0.22137,
    "h": 315.4
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

primary
#9C30C2
secondary
#95CC82
accent
#E3446E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C30C2

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

Preview Lab → · Contrast checker → · Palette generator →

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