#9C2EA6#9C2EA6

#9C2EA6 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.200 H 324.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9C2EA6
RGBrgb(156, 46, 166)
HSLhsl(295, 57%, 42%)
HSVhsv(295, 72%, 65%)
CMYKcmyk(6%, 72.3%, 0%, 34.9%)
CIE-LABlab(40.86, 59.90, -41.79)
CIE-LCHlch(40.86, 73.04, 325.10°)
OKLaboklab(51.63% 0.1621 -0.1164)
OKLCHoklch(51.63% 0.2 324.3)
XYZxyz(21.5697, 11.7764, 37.2060)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EA6 #38A62E
analogous
#602EA6 #9C2EA6 #A62E74
triadic
#9C2EA6 #A69C2E #2EA69C
tetradic
#9C2EA6 #A6602E #38A62E #2E74A6
square
#9C2EA6 #A6602E #38A62E #2E74A6
split-complementary
#9C2EA6 #74A62E #2EA660
monochromatic
#421346 #6F2176 #9C2EA6 #C046CC #D176D9

Accessibility & contrast

On white

6.26
#9C2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9C2EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EA6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EA6#FFFFFF#000000##FFFFFF
##9C2EA61.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0458A9
Deuteranopia (green-blind)
#4565A3
Tritanopia (blue-blind)
#9F4367
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2ea6;
/* rgb */ color: rgb(156, 46, 166);
/* oklch */ color: oklch(51.6% 0.200 324.3);
Tailwind
colors: {
  custom: {
    50: '#bd72c1',
    500: '#9c2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ea6;
$custom-light: #bd72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ea6",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 295,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51626,
    "c": 0.19959,
    "h": 324.3
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#9C2EA6
secondary
#76C16F
accent
#E04855
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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