#9C2EAB#9C2EAB

#9C2EAB is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 51.9% C 0.204 H 322.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9C2EAB
RGBrgb(156, 46, 171)
HSLhsl(293, 58%, 43%)
HSVhsv(293, 73%, 67%)
CMYKcmyk(8.8%, 73.1%, 0%, 32.9%)
CIE-LABlab(41.16, 60.80, -44.29)
CIE-LCHlch(41.16, 75.22, 323.92°)
OKLaboklab(51.94% 0.1619 -0.1237)
OKLCHoklch(51.94% 0.204 322.6)
XYZxyz(22.0372, 11.9635, 39.6686)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EAB #3DAB2E
analogous
#5D2EAB #9C2EAB #AB2E7C
triadic
#9C2EAB #AB9C2E #2EAB9C
tetradic
#9C2EAB #AB5D2E #3DAB2E #2E7CAB
square
#9C2EAB #AB5D2E #3DAB2E #2E7CAB
split-complementary
#9C2EAB #7CAB2E #2EAB5D
monochromatic
#44144B #70217B #9C2EAB #BE48CE #CF79DB

Accessibility & contrast

On white

6.19
#9C2EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9C2EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EAB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EAB#FFFFFF#000000##FFFFFF
##9C2EAB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4165A8
Tritanopia (blue-blind)
#9E456A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2eab;
/* rgb */ color: rgb(156, 46, 171);
/* oklch */ color: oklch(51.9% 0.204 322.6);
Tailwind
colors: {
  custom: {
    50: '#bd72c4',
    500: '#9c2eab',
    950: '#000000',
  },
}
SCSS
$custom: #9c2eab;
$custom-light: #bd72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2eab",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 292.8,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51936,
    "c": 0.20375,
    "h": 322.6
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#9C2EAB
secondary
#7CC372
accent
#E14759
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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