#9C2BB7#9C2BB7

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

Color values

HEX#9C2BB7
RGBrgb(156, 43, 183)
HSLhsl(288, 62%, 44%)
HSVhsv(288, 77%, 72%)
CMYKcmyk(14.8%, 76.5%, 0%, 28.2%)
CIE-LABlab(41.56, 64.03, -50.76)
CIE-LCHlch(41.56, 81.71, 321.59°)
OKLaboklab(52.46% 0.1636 -0.1426)
OKLCHoklch(52.46% 0.217 318.9)
XYZxyz(23.1203, 12.2157, 45.9306)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2BB7 #46B72B
analogous
#562BB7 #9C2BB7 #B72B8C
triadic
#9C2BB7 #B79C2B #2BB79C
tetradic
#9C2BB7 #B7562B #46B72B #2B8CB7
square
#9C2BB7 #B7562B #46B72B #2B8CB7
split-complementary
#9C2BB7 #8CB72B #2BB756
monochromatic
#481454 #721F85 #9C2BB7 #BA4BD5 #CD7CE0

Accessibility & contrast

On white

6.10
#9C2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9C2BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2BB7
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2BB7#FFFFFF#000000##FFFFFF
##9C2BB71.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#3466B4
Tritanopia (blue-blind)
#9C4970
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c2bb7;
/* rgb */ color: rgb(156, 43, 183);
/* oklch */ color: oklch(52.5% 0.217 318.9);
Tailwind
colors: {
  custom: {
    50: '#bd71cd',
    500: '#9c2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #9c2bb7;
$custom-light: #bd71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2bb7",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 288.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.21701,
    "h": 318.9
  },
  "luminance": 0.12215
}

Semantic roles & 50–950 ramp

primary
#9C2BB7
secondary
#85C975
accent
#E54362
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9C2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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