#9C2BC2#9C2BC2

#9C2BC2 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.226 H 315.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9C2BC2
RGBrgb(156, 43, 194)
HSLhsl(285, 64%, 46%)
HSVhsv(285, 78%, 76%)
CMYKcmyk(19.6%, 77.8%, 0%, 23.9%)
CIE-LABlab(42.30, 66.11, -56.02)
CIE-LCHlch(42.30, 86.66, 319.72°)
OKLaboklab(53.22% 0.162 -0.158)
OKLCHoklch(53.22% 0.226 315.7)
XYZxyz(24.3102, 12.6917, 52.1977)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2BC2 #51C22B
analogous
#512BC2 #9C2BC2 #C22B9D
triadic
#9C2BC2 #C29C2B #2BC29C
tetradic
#9C2BC2 #C2512B #51C22B #2B9DC2
square
#9C2BC2 #C2512B #51C22B #2B9DC2
split-complementary
#9C2BC2 #9DC22B #2BC251
monochromatic
#4B155E #742090 #9C2BC2 #B752D9 #CC84E4

Accessibility & contrast

On white

5.94
#9C2BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9C2BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2BC2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2BC2#FFFFFF#000000##FFFFFF
##9C2BC21.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#2767BF
Tritanopia (blue-blind)
#994E76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2bc2;
/* rgb */ color: rgb(156, 43, 194);
/* oklch */ color: oklch(53.2% 0.226 315.7);
Tailwind
colors: {
  custom: {
    50: '#be72d5',
    500: '#9c2bc2',
    950: '#000000',
  },
}
SCSS
$custom: #9c2bc2;
$custom-light: #be72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2bc2",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 284.901,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53216,
    "c": 0.22633,
    "h": 315.7
  },
  "luminance": 0.12691
}

Semantic roles & 50–950 ramp

primary
#9C2BC2
secondary
#90CD7C
accent
#E7416B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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