#9C2CB6#9C2CB6

#9C2CB6 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.215 H 319.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9C2CB6
RGBrgb(156, 44, 182)
HSLhsl(289, 61%, 44%)
HSVhsv(289, 76%, 71%)
CMYKcmyk(14.3%, 75.8%, 0%, 28.6%)
CIE-LABlab(41.61, 63.51, -50.09)
CIE-LCHlch(41.61, 80.89, 321.74°)
OKLaboklab(52.48% 0.1628 -0.1406)
OKLCHoklch(52.48% 0.215 319.2)
XYZxyz(23.0534, 12.2478, 45.3967)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2CB6 #46B62C
analogous
#572CB6 #9C2CB6 #B62C8B
triadic
#9C2CB6 #B69C2C #2CB69C
tetradic
#9C2CB6 #B6572C #46B62C #2C8BB6
square
#9C2CB6 #B6572C #46B62C #2C8BB6
split-complementary
#9C2CB6 #8BB62C #2CB657
monochromatic
#481453 #722085 #9C2CB6 #BA4CD4 #CD7DE0

Accessibility & contrast

On white

6.09
#9C2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9C2CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2CB6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2CB6#FFFFFF#000000##FFFFFF
##9C2CB61.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3666B3
Tritanopia (blue-blind)
#9C4970
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c2cb6;
/* rgb */ color: rgb(156, 44, 182);
/* oklch */ color: oklch(52.5% 0.215 319.2);
Tailwind
colors: {
  custom: {
    50: '#bd71cd',
    500: '#9c2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #9c2cb6;
$custom-light: #bd71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2cb6",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 288.696,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.21516,
    "h": 319.2
  },
  "luminance": 0.12247
}

Semantic roles & 50–950 ramp

primary
#9C2CB6
secondary
#85C876
accent
#E44462
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9C2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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