#9C2BBC#9C2BBC

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

Color values

HEX#9C2BBC
RGBrgb(156, 43, 188)
HSLhsl(287, 63%, 45%)
HSVhsv(287, 77%, 74%)
CMYKcmyk(17%, 77.1%, 0%, 26.3%)
CIE-LABlab(41.89, 64.97, -53.17)
CIE-LCHlch(41.89, 83.95, 320.71°)
OKLaboklab(52.8% 0.1629 -0.1497)
OKLCHoklch(52.8% 0.221 317.4)
XYZxyz(23.6500, 12.4276, 48.7202)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2BBC #4BBC2B
analogous
#542BBC #9C2BBC #BC2B93
triadic
#9C2BBC #BC9C2B #2BBC9C
tetradic
#9C2BBC #BC542B #4BBC2B #2B93BC
square
#9C2BBC #BC542B #4BBC2B #2B93BC
split-complementary
#9C2BBC #93BC2B #2BBC54
monochromatic
#491458 #73208A #9C2BBC #B84ED6 #CC80E2

Accessibility & contrast

On white

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

On black

3.49
#9C2BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9C2BBC#FFFFFF#000000##FFFFFF
##9C2BBC1.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2F66B9
Tritanopia (blue-blind)
#9B4B73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2bbc;
/* rgb */ color: rgb(156, 43, 188);
/* oklch */ color: oklch(52.8% 0.221 317.4);
Tailwind
colors: {
  custom: {
    50: '#be71d1',
    500: '#9c2bbc',
    950: '#000000',
  },
}
SCSS
$custom: #9c2bbc;
$custom-light: #be71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2bbc",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 286.759,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.528,
    "c": 0.22123,
    "h": 317.4
  },
  "luminance": 0.12427
}

Semantic roles & 50–950 ramp

primary
#9C2BBC
secondary
#8ACB78
accent
#E64266
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9C2BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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