#9C2FA9#9C2FA9

#9C2FA9 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 51.9% C 0.201 H 323.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9C2FA9
RGBrgb(156, 47, 169)
HSLhsl(294, 56%, 42%)
HSVhsv(294, 72%, 66%)
CMYKcmyk(7.7%, 72.2%, 0%, 33.7%)
CIE-LABlab(41.16, 60.08, -43.10)
CIE-LCHlch(41.16, 73.94, 324.35°)
OKLaboklab(51.9% 0.161 -0.1202)
OKLCHoklch(51.9% 0.201 323.3)
XYZxyz(21.8876, 11.9668, 38.6854)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FA9 #3CA92F
analogous
#5F2FA9 #9C2FA9 #A92F79
triadic
#9C2FA9 #A99C2F #2FA99C
tetradic
#9C2FA9 #A95F2F #3CA92F #2F79A9
square
#9C2FA9 #A95F2F #3CA92F #2F79A9
split-complementary
#9C2FA9 #79A92F #2FA95F
monochromatic
#441449 #702279 #9C2FA9 #BE49CC #CF79DA

Accessibility & contrast

On white

6.19
#9C2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9C2FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FA9
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FA9#FFFFFF#000000##FFFFFF
##9C2FA91.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4365A6
Tritanopia (blue-blind)
#9E4569
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2fa9;
/* rgb */ color: rgb(156, 47, 169);
/* oklch */ color: oklch(51.9% 0.201 323.3);
Tailwind
colors: {
  custom: {
    50: '#bd72c3',
    500: '#9c2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fa9;
$custom-light: #bd72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fa9",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 293.607,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51901,
    "c": 0.20095,
    "h": 323.3
  },
  "luminance": 0.11966
}

Semantic roles & 50–950 ramp

primary
#9C2FA9
secondary
#7AC272
accent
#E04858
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9C2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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