#9C2FA6#9C2FA6

#9C2FA6 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.198 H 324.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9C2FA6
RGBrgb(156, 47, 166)
HSLhsl(295, 56%, 42%)
HSVhsv(295, 72%, 65%)
CMYKcmyk(6%, 71.7%, 0%, 34.9%)
CIE-LABlab(40.99, 59.54, -41.59)
CIE-LCHlch(40.99, 72.63, 325.06°)
OKLaboklab(51.72% 0.1611 -0.1158)
OKLCHoklch(51.72% 0.198 324.3)
XYZxyz(21.6092, 11.8555, 37.2191)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FA6 #39A62F
analogous
#612FA6 #9C2FA6 #A62F75
triadic
#9C2FA6 #A69C2F #2FA69C
tetradic
#9C2FA6 #A6612F #39A62F #2F75A6
square
#9C2FA6 #A6612F #39A62F #2F75A6
split-complementary
#9C2FA6 #75A62F #2FA661
monochromatic
#421447 #6F2176 #9C2FA6 #C047CB #D077D8

Accessibility & contrast

On white

6.23
#9C2FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9C2FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FA6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FA6#FFFFFF#000000##FFFFFF
##9C2FA61.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0858A9
Deuteranopia (green-blind)
#4565A3
Tritanopia (blue-blind)
#9F4368
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2fa6;
/* rgb */ color: rgb(156, 47, 166);
/* oklch */ color: oklch(51.7% 0.198 324.3);
Tailwind
colors: {
  custom: {
    50: '#bd72c1',
    500: '#9c2fa6',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fa6;
$custom-light: #bd72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fa6",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 294.958,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.19843,
    "h": 324.3
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

primary
#9C2FA6
secondary
#77C170
accent
#DF4955
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C2FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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