#9C2EAA#9C2EAA

#9C2EAA is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.203 H 322.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9C2EAA
RGBrgb(156, 46, 170)
HSLhsl(293, 57%, 42%)
HSVhsv(293, 73%, 67%)
CMYKcmyk(8.2%, 72.9%, 0%, 33.3%)
CIE-LABlab(41.10, 60.62, -43.80)
CIE-LCHlch(41.10, 74.78, 324.15°)
OKLaboklab(51.87% 0.162 -0.1223)
OKLCHoklch(51.87% 0.203 322.9)
XYZxyz(21.9423, 11.9255, 39.1685)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EAA #3CAA2E
analogous
#5E2EAA #9C2EAA #AA2E7A
triadic
#9C2EAA #AA9C2E #2EAA9C
tetradic
#9C2EAA #AA5E2E #3CAA2E #2E7AAA
square
#9C2EAA #AA5E2E #3CAA2E #2E7AAA
split-complementary
#9C2EAA #7AAA2E #2EAA5E
monochromatic
#44144A #70217A #9C2EAA #BE48CD #CF78DA

Accessibility & contrast

On white

6.20
#9C2EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9C2EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EAA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EAA#FFFFFF#000000##FFFFFF
##9C2EAA1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4265A7
Tritanopia (blue-blind)
#9E4569
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2eaa;
/* rgb */ color: rgb(156, 46, 170);
/* oklch */ color: oklch(51.9% 0.203 322.9);
Tailwind
colors: {
  custom: {
    50: '#bd72c4',
    500: '#9c2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #9c2eaa;
$custom-light: #bd72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2eaa",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 293.226,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.20292,
    "h": 322.9
  },
  "luminance": 0.11924
}

Semantic roles & 50–950 ramp

primary
#9C2EAA
secondary
#7AC371
accent
#E14758
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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