#9C21C3#9C21C3

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

Color values

HEX#9C21C3
RGBrgb(156, 33, 195)
HSLhsl(286, 71%, 45%)
HSVhsv(286, 83%, 76%)
CMYKcmyk(20%, 83.1%, 0%, 23.5%)
CIE-LABlab(41.37, 69.20, -58.10)
CIE-LCHlch(41.37, 90.36, 319.98°)
OKLaboklab(52.59% 0.1691 -0.1641)
OKLCHoklch(52.59% 0.236 315.9)
XYZxyz(24.1029, 12.0967, 52.6845)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C21C3 #48C321
analogous
#4B21C3 #9C21C3 #C32199
triadic
#9C21C3 #C39C21 #21C39C
tetradic
#9C21C3 #C34B21 #48C321 #2199C3
square
#9C21C3 #C34B21 #48C321 #2199C3
split-complementary
#9C21C3 #99C321 #21C34B
monochromatic
#480F5A #72188F #9C21C3 #B942DF #CD77E8

Accessibility & contrast

On white

6.14
#9C21C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9C21C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C21C3
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C21C3#FFFFFF#000000##FFFFFF
##9C21C31.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c21c3;
/* rgb */ color: rgb(156, 33, 195);
/* oklch */ color: oklch(52.6% 0.236 315.9);
Tailwind
colors: {
  custom: {
    50: '#be6ed6',
    500: '#9c21c3',
    950: '#000000',
  },
}
SCSS
$custom: #9c21c3;
$custom-light: #be6ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c21c3",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 195
  },
  "hsl": {
    "h": 285.556,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.23563,
    "h": 315.9
  },
  "luminance": 0.12096
}

Semantic roles & 50–950 ramp

primary
#9C21C3
secondary
#87CF71
accent
#EE3A65
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9C21C3

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

Preview Lab → · Contrast checker → · Palette generator →

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