#9C2AC2#9C2AC2

#9C2AC2 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.227 H 315.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9C2AC2
RGBrgb(156, 42, 194)
HSLhsl(285, 64%, 46%)
HSVhsv(285, 78%, 76%)
CMYKcmyk(19.6%, 78.4%, 0%, 23.9%)
CIE-LABlab(42.18, 66.43, -56.20)
CIE-LCHlch(42.18, 87.01, 319.77°)
OKLaboklab(53.14% 0.1628 -0.1586)
OKLCHoklch(53.14% 0.227 315.8)
XYZxyz(24.2743, 12.6199, 52.1857)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2AC2 #50C22A
analogous
#502AC2 #9C2AC2 #C22A9C
triadic
#9C2AC2 #C29C2A #2AC29C
tetradic
#9C2AC2 #C2502A #50C22A #2A9CC2
square
#9C2AC2 #C2502A #50C22A #2A9CC2
split-complementary
#9C2AC2 #9CC22A #2AC250
monochromatic
#4B145D #741F90 #9C2AC2 #B750D9 #CC82E4

Accessibility & contrast

On white

5.96
#9C2AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9C2AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2AC2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2AC2#FFFFFF#000000##FFFFFF
##9C2AC21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#2667BF
Tritanopia (blue-blind)
#994D76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2ac2;
/* rgb */ color: rgb(156, 42, 194);
/* oklch */ color: oklch(53.1% 0.227 315.8);
Tailwind
colors: {
  custom: {
    50: '#be71d5',
    500: '#9c2ac2',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ac2;
$custom-light: #be71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ac2",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 285,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53139,
    "c": 0.22726,
    "h": 315.8
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#9C2AC2
secondary
#8FCD7B
accent
#E7406A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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