#9C20C3#9C20C3

#9C20C3 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.5% C 0.236 H 315.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9C20C3
RGBrgb(156, 32, 195)
HSLhsl(286, 72%, 45%)
HSVhsv(286, 84%, 76%)
CMYKcmyk(20%, 83.6%, 0%, 23.5%)
CIE-LABlab(41.28, 69.45, -58.24)
CIE-LCHlch(41.28, 90.64, 320.02°)
OKLaboklab(52.53% 0.1697 -0.1645)
OKLCHoklch(52.53% 0.236 315.9)
XYZxyz(24.0756, 12.0421, 52.6753)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C20C3 #47C320
analogous
#4A20C3 #9C20C3 #C32099
triadic
#9C20C3 #C39C20 #20C39C
tetradic
#9C20C3 #C34A20 #47C320 #2099C3
square
#9C20C3 #C34A20 #47C320 #2099C3
split-complementary
#9C20C3 #99C320 #20C34A
monochromatic
#480F5A #72178E #9C20C3 #BA40E0 #CD75E8

Accessibility & contrast

On white

6.16
#9C20C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9C20C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C20C3
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C20C3#FFFFFF#000000##FFFFFF
##9C20C31.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#1A64C0
Tritanopia (blue-blind)
#994A75
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c20c3;
/* rgb */ color: rgb(156, 32, 195);
/* oklch */ color: oklch(52.5% 0.236 315.9);
Tailwind
colors: {
  custom: {
    50: '#be6ed6',
    500: '#9c20c3',
    950: '#000000',
  },
}
SCSS
$custom: #9c20c3;
$custom-light: #be6ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c20c3",
  "rgb": {
    "r": 156,
    "g": 32,
    "b": 195
  },
  "hsl": {
    "h": 285.644,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52529,
    "c": 0.23637,
    "h": 315.9
  },
  "luminance": 0.12041
}

Semantic roles & 50–950 ramp

primary
#9C20C3
secondary
#86CF6F
accent
#EF3965
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9C20C3

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

Preview Lab → · Contrast checker → · Palette generator →

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