#9C2EB6#9C2EB6

#9C2EB6 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.213 H 319.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9C2EB6
RGBrgb(156, 46, 182)
HSLhsl(289, 60%, 45%)
HSVhsv(289, 75%, 71%)
CMYKcmyk(14.3%, 74.7%, 0%, 28.6%)
CIE-LABlab(41.85, 62.83, -49.71)
CIE-LCHlch(41.85, 80.11, 321.65°)
OKLaboklab(52.65% 0.161 -0.1395)
OKLCHoklch(52.65% 0.213 319.1)
XYZxyz(23.1297, 12.4004, 45.4221)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EB6 #48B62E
analogous
#582EB6 #9C2EB6 #B62E8C
triadic
#9C2EB6 #B69C2E #2EB69C
tetradic
#9C2EB6 #B6582E #48B62E #2E8CB6
square
#9C2EB6 #B6582E #48B62E #2E8CB6
split-complementary
#9C2EB6 #8CB62E #2EB658
monochromatic
#481554 #722285 #9C2EB6 #B94FD2 #CD80DF

Accessibility & contrast

On white

6.03
#9C2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9C2EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EB6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EB6#FFFFFF#000000##FFFFFF
##9C2EB61.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#3866B3
Tritanopia (blue-blind)
#9C4A70
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2eb6;
/* rgb */ color: rgb(156, 46, 182);
/* oklch */ color: oklch(52.6% 0.213 319.1);
Tailwind
colors: {
  custom: {
    50: '#bd72cd',
    500: '#9c2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #9c2eb6;
$custom-light: #bd72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2eb6",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 288.529,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52645,
    "c": 0.21307,
    "h": 319.1
  },
  "luminance": 0.12399
}

Semantic roles & 50–950 ramp

primary
#9C2EB6
secondary
#87C878
accent
#E34563
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9C2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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