#9C2BBA#9C2BBA

#9C2BBA is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.220 H 318.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9C2BBA
RGBrgb(156, 43, 186)
HSLhsl(287, 62%, 45%)
HSVhsv(287, 77%, 73%)
CMYKcmyk(16.1%, 76.9%, 0%, 27.1%)
CIE-LABlab(41.75, 64.59, -52.21)
CIE-LCHlch(41.75, 83.05, 321.05°)
OKLaboklab(52.66% 0.1632 -0.1468)
OKLCHoklch(52.66% 0.22 318)
XYZxyz(23.4359, 12.3419, 47.5926)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2BBA #49BA2B
analogous
#552BBA #9C2BBA #BA2B90
triadic
#9C2BBA #BA9C2B #2BBA9C
tetradic
#9C2BBA #BA552B #49BA2B #2B90BA
square
#9C2BBA #BA552B #49BA2B #2B90BA
split-complementary
#9C2BBA #90BA2B #2BBA55
monochromatic
#491457 #722088 #9C2BBA #B94CD6 #CC7EE1

Accessibility & contrast

On white

6.06
#9C2BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9C2BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2BBA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2BBA#FFFFFF#000000##FFFFFF
##9C2BBA1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#3166B7
Tritanopia (blue-blind)
#9B4A72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c2bba;
/* rgb */ color: rgb(156, 43, 186);
/* oklch */ color: oklch(52.7% 0.220 318.0);
Tailwind
colors: {
  custom: {
    50: '#bd71cf',
    500: '#9c2bba',
    950: '#000000',
  },
}
SCSS
$custom: #9c2bba;
$custom-light: #bd71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2bba",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 287.413,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52664,
    "c": 0.21954,
    "h": 318
  },
  "luminance": 0.12341
}

Semantic roles & 50–950 ramp

primary
#9C2BBA
secondary
#88CA77
accent
#E64265
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9C2BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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