#9C2EB3#9C2EB3

#9C2EB3 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.211 H 320.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9C2EB3
RGBrgb(156, 46, 179)
HSLhsl(290, 59%, 44%)
HSVhsv(290, 74%, 70%)
CMYKcmyk(12.8%, 74.3%, 0%, 29.8%)
CIE-LABlab(41.65, 62.27, -48.24)
CIE-LCHlch(41.65, 78.77, 322.23°)
OKLaboklab(52.45% 0.1613 -0.1353)
OKLCHoklch(52.45% 0.211 320)
XYZxyz(22.8230, 12.2777, 43.8068)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EB3 #45B32E
analogous
#5A2EB3 #9C2EB3 #B32E88
triadic
#9C2EB3 #B39C2E #2EB39C
tetradic
#9C2EB3 #B35A2E #45B32E #2E88B3
square
#9C2EB3 #B35A2E #45B32E #2E88B3
split-complementary
#9C2EB3 #88B32E #2EB35A
monochromatic
#471552 #722182 #9C2EB3 #BA4DD1 #CD7EDE

Accessibility & contrast

On white

6.08
#9C2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9C2EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EB3
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EB3#FFFFFF#000000##FFFFFF
##9C2EB31.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#9C496F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c2eb3;
/* rgb */ color: rgb(156, 46, 179);
/* oklch */ color: oklch(52.4% 0.211 320.0);
Tailwind
colors: {
  custom: {
    50: '#bd72ca',
    500: '#9c2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #9c2eb3;
$custom-light: #bd72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2eb3",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 289.624,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52448,
    "c": 0.21051,
    "h": 320
  },
  "luminance": 0.12277
}

Semantic roles & 50–950 ramp

primary
#9C2EB3
secondary
#84C676
accent
#E24661
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9C2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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