#9C2AC1#9C2AC1

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

Color values

HEX#9C2AC1
RGBrgb(156, 42, 193)
HSLhsl(285, 64%, 46%)
HSVhsv(285, 78%, 76%)
CMYKcmyk(19.2%, 78.2%, 0%, 24.3%)
CIE-LABlab(42.12, 66.24, -55.73)
CIE-LCHlch(42.12, 86.56, 319.93°)
OKLaboklab(53.07% 0.163 -0.1572)
OKLCHoklch(53.07% 0.226 316)
XYZxyz(24.1624, 12.5751, 51.5962)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2AC1 #4FC12A
analogous
#502AC1 #9C2AC1 #C12A9A
triadic
#9C2AC1 #C19C2A #2AC19C
tetradic
#9C2AC1 #C1502A #4FC12A #2A9AC1
square
#9C2AC1 #C1502A #4FC12A #2A9AC1
split-complementary
#9C2AC1 #9AC12A #2AC150
monochromatic
#4B145C #731F8F #9C2AC1 #B74FD9 #CC82E4

Accessibility & contrast

On white

5.97
#9C2AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9C2AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2AC1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2AC1#FFFFFF#000000##FFFFFF
##9C2AC11.005.973.515.97
#FFFFFF5.971.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#2766BE
Tritanopia (blue-blind)
#994D76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2ac1;
/* rgb */ color: rgb(156, 42, 193);
/* oklch */ color: oklch(53.1% 0.226 316.0);
Tailwind
colors: {
  custom: {
    50: '#be71d5',
    500: '#9c2ac1',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ac1;
$custom-light: #be71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ac1",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 285.298,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.22641,
    "h": 316
  },
  "luminance": 0.12574
}

Semantic roles & 50–950 ramp

primary
#9C2AC1
secondary
#8ECD7A
accent
#E74169
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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