#9C2BAE#9C2BAE

#9C2BAE is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.209 H 321.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9C2BAE
RGBrgb(156, 43, 174)
HSLhsl(292, 60%, 43%)
HSVhsv(292, 75%, 68%)
CMYKcmyk(10.3%, 75.3%, 0%, 31.8%)
CIE-LABlab(40.98, 62.37, -46.36)
CIE-LCHlch(40.98, 77.72, 323.38°)
OKLaboklab(51.87% 0.1645 -0.1297)
OKLCHoklch(51.87% 0.209 321.7)
XYZxyz(22.2133, 11.8529, 41.1540)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2BAE #3DAE2B
analogous
#5B2BAE #9C2BAE #AE2B7E
triadic
#9C2BAE #AE9C2B #2BAE9C
tetradic
#9C2BAE #AE5B2B #3DAE2B #2B7EAE
square
#9C2BAE #AE5B2B #3DAE2B #2B7EAE
split-complementary
#9C2BAE #7EAE2B #2BAE5B
monochromatic
#44134C #701F7D #9C2BAE #BE45D1 #CF76DD

Accessibility & contrast

On white

6.23
#9C2BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9C2BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2BAE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2BAE#FFFFFF#000000##FFFFFF
##9C2BAE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#3D65AB
Tritanopia (blue-blind)
#9E456B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2bae;
/* rgb */ color: rgb(156, 43, 174);
/* oklch */ color: oklch(51.9% 0.209 321.7);
Tailwind
colors: {
  custom: {
    50: '#bd71c7',
    500: '#9c2bae',
    950: '#000000',
  },
}
SCSS
$custom: #9c2bae;
$custom-light: #bd71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2bae",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 291.756,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.20948,
    "h": 321.7
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#9C2BAE
secondary
#7CC570
accent
#E4445A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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