#9C2FA4#9C2FA4

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

Color values

HEX#9C2FA4
RGBrgb(156, 47, 164)
HSLhsl(296, 55%, 41%)
HSVhsv(296, 71%, 64%)
CMYKcmyk(4.9%, 71.3%, 0%, 35.7%)
CIE-LABlab(40.87, 59.18, -40.58)
CIE-LCHlch(40.87, 71.76, 325.56°)
OKLaboklab(51.6% 0.1612 -0.1129)
OKLCHoklch(51.6% 0.197 325)
XYZxyz(21.4271, 11.7826, 36.2604)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FA4 #37A42F
analogous
#622FA4 #9C2FA4 #A42F72
triadic
#9C2FA4 #A49C2F #2FA49C
tetradic
#9C2FA4 #A4622F #37A42F #2F72A4
square
#9C2FA4 #A4622F #37A42F #2F72A4
split-complementary
#9C2FA4 #72A42F #2FA462
monochromatic
#421445 #6F2174 #9C2FA4 #C146CA #D176D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2FA4#FFFFFF#000000##FFFFFF
##9C2FA41.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)
#0E58A7
Deuteranopia (green-blind)
#4665A1
Tritanopia (blue-blind)
#9F4266
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2fa4;
/* rgb */ color: rgb(156, 47, 164);
/* oklch */ color: oklch(51.6% 0.197 325.0);
Tailwind
colors: {
  custom: {
    50: '#bd72bf',
    500: '#9c2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fa4;
$custom-light: #bd72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fa4",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 295.897,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51595,
    "c": 0.19677,
    "h": 325
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#9C2FA4
secondary
#75C06F
accent
#DF4953
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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