#9C2FA3#9C2FA3

#9C2FA3 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.196 H 325.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9C2FA3
RGBrgb(156, 47, 163)
HSLhsl(296, 55%, 41%)
HSVhsv(296, 71%, 64%)
CMYKcmyk(4.3%, 71.2%, 0%, 36.1%)
CIE-LABlab(40.81, 59.01, -40.07)
CIE-LCHlch(40.81, 71.33, 325.82°)
OKLaboklab(51.54% 0.1612 -0.1114)
OKLCHoklch(51.54% 0.196 325.3)
XYZxyz(21.3372, 11.7467, 35.7867)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FA3 #36A32F
analogous
#622FA3 #9C2FA3 #A32F70
triadic
#9C2FA3 #A39C2F #2FA39C
tetradic
#9C2FA3 #A3622F #36A32F #2F70A3
square
#9C2FA3 #A3622F #36A32F #2F70A3
split-complementary
#9C2FA3 #70A32F #2FA362
monochromatic
#411444 #6F2173 #9C2FA3 #C246CA #D175D7

Accessibility & contrast

On white

6.27
#9C2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9C2FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FA3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FA3#FFFFFF#000000##FFFFFF
##9C2FA31.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1158A6
Deuteranopia (green-blind)
#4765A0
Tritanopia (blue-blind)
#A04266
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2fa3;
/* rgb */ color: rgb(156, 47, 163);
/* oklch */ color: oklch(51.5% 0.196 325.3);
Tailwind
colors: {
  custom: {
    50: '#bd72bf',
    500: '#9c2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fa3;
$custom-light: #bd72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fa3",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 296.379,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51535,
    "c": 0.19594,
    "h": 325.3
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#9C2FA3
secondary
#74BF6F
accent
#DF4952
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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