#9C2BCA#9C2BCA

#9C2BCA is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.233 H 313.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9C2BCA
RGBrgb(156, 43, 202)
HSLhsl(283, 65%, 48%)
HSVhsv(283, 79%, 79%)
CMYKcmyk(22.8%, 78.7%, 0%, 20.8%)
CIE-LABlab(42.85, 67.67, -59.77)
CIE-LCHlch(42.85, 90.28, 318.55°)
OKLaboklab(53.79% 0.1606 -0.1691)
OKLCHoklch(53.79% 0.233 313.5)
XYZxyz(25.2330, 13.0608, 57.0574)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2BCA #59CA2B
analogous
#4D2BCA #9C2BCA #CA2BA8
triadic
#9C2BCA #CA9C2B #2BCA9C
tetradic
#9C2BCA #CA4D2B #59CA2B #2BA8CA
square
#9C2BCA #CA4D2B #59CA2B #2BA8CA
split-complementary
#9C2BCA #A8CA2B #2BCA4D
monochromatic
#4E1665 #752098 #9C2BCA #B557DB #CB89E6

Accessibility & contrast

On white

5.81
#9C2BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9C2BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2BCA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2BCA#FFFFFF#000000##FFFFFF
##9C2BCA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#1668C7
Tritanopia (blue-blind)
#97527B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c2bca;
/* rgb */ color: rgb(156, 43, 202);
/* oklch */ color: oklch(53.8% 0.233 313.5);
Tailwind
colors: {
  custom: {
    50: '#be72db',
    500: '#9c2bca',
    950: '#000000',
  },
}
SCSS
$custom: #9c2bca;
$custom-light: #be72db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2bca",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 282.642,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53787,
    "c": 0.23317,
    "h": 313.5
  },
  "luminance": 0.1306
}

Semantic roles & 50–950 ramp

primary
#9C2BCA
secondary
#98D081
accent
#E84071
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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