#9C2EAC#9C2EAC

#9C2EAC is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.205 H 322.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9C2EAC
RGBrgb(156, 46, 172)
HSLhsl(292, 58%, 43%)
HSVhsv(292, 73%, 67%)
CMYKcmyk(9.3%, 73.3%, 0%, 32.5%)
CIE-LABlab(41.22, 60.98, -44.79)
CIE-LCHlch(41.22, 75.66, 323.70°)
OKLaboklab(52% 0.1618 -0.1252)
OKLCHoklch(52% 0.205 322.3)
XYZxyz(22.1329, 12.0017, 40.1725)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EAC #3EAC2E
analogous
#5D2EAC #9C2EAC #AC2E7D
triadic
#9C2EAC #AC9C2E #2EAC9C
tetradic
#9C2EAC #AC5D2E #3EAC2E #2E7DAC
square
#9C2EAC #AC5D2E #3EAC2E #2E7DAC
split-complementary
#9C2EAC #7DAC2E #2EAC5D
monochromatic
#44144B #70217C #9C2EAC #BD49CE #CF79DB

Accessibility & contrast

On white

6.18
#9C2EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9C2EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EAC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EAC#FFFFFF#000000##FFFFFF
##9C2EAC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#4065A9
Tritanopia (blue-blind)
#9E456B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2eac;
/* rgb */ color: rgb(156, 46, 172);
/* oklch */ color: oklch(52.0% 0.205 322.3);
Tailwind
colors: {
  custom: {
    50: '#bd72c5',
    500: '#9c2eac',
    950: '#000000',
  },
}
SCSS
$custom: #9c2eac;
$custom-light: #bd72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2eac",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 292.381,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.2046,
    "h": 322.3
  },
  "luminance": 0.12
}

Semantic roles & 50–950 ramp

primary
#9C2EAC
secondary
#7DC372
accent
#E1475A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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