#9C2AB3#9C2AB3

#9C2AB3 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.215 H 320.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9C2AB3
RGBrgb(156, 42, 179)
HSLhsl(290, 62%, 43%)
HSVhsv(290, 77%, 70%)
CMYKcmyk(12.8%, 76.5%, 0%, 29.8%)
CIE-LABlab(41.18, 63.62, -49.00)
CIE-LCHlch(41.18, 80.30, 322.40°)
OKLaboklab(52.11% 0.1649 -0.1374)
OKLCHoklch(52.11% 0.215 320.2)
XYZxyz(22.6740, 11.9797, 43.7571)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2AB3 #41B32A
analogous
#572AB3 #9C2AB3 #B32A85
triadic
#9C2AB3 #B39C2A #2AB39C
tetradic
#9C2AB3 #B3572A #41B32A #2A85B3
square
#9C2AB3 #B3572A #41B32A #2A85B3
split-complementary
#9C2AB3 #85B32A #2AB357
monochromatic
#461350 #711E81 #9C2AB3 #BC46D4 #CE78DF

Accessibility & contrast

On white

6.18
#9C2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9C2AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2AB3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2AB3#FFFFFF#000000##FFFFFF
##9C2AB31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#9D466E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2ab3;
/* rgb */ color: rgb(156, 42, 179);
/* oklch */ color: oklch(52.1% 0.215 320.2);
Tailwind
colors: {
  custom: {
    50: '#bd71ca',
    500: '#9c2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ab3;
$custom-light: #bd71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ab3",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 289.927,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52114,
    "c": 0.21466,
    "h": 320.2
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#9C2AB3
secondary
#80C772
accent
#E5435E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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