#9C2FA0#9C2FA0

#9C2FA0 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.193 H 326.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9C2FA0
RGBrgb(156, 47, 160)
HSLhsl(298, 55%, 41%)
HSVhsv(298, 71%, 63%)
CMYKcmyk(2.5%, 70.6%, 0%, 37.3%)
CIE-LABlab(40.64, 58.48, -38.55)
CIE-LCHlch(40.64, 70.04, 326.61°)
OKLaboklab(51.36% 0.1612 -0.107)
OKLCHoklch(51.36% 0.193 326.4)
XYZxyz(21.0716, 11.6404, 34.3879)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FA0 #33A02F
analogous
#632FA0 #9C2FA0 #A02F6B
triadic
#9C2FA0 #A09C2F #2FA09C
tetradic
#9C2FA0 #A0632F #33A02F #2F6BA0
square
#9C2FA0 #A0632F #33A02F #2F6BA0
split-complementary
#9C2FA0 #6BA02F #2FA063
monochromatic
#401341 #6E2171 #9C2FA0 #C344C8 #D373D6

Accessibility & contrast

On white

6.31
#9C2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9C2FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FA0
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FA0#FFFFFF#000000##FFFFFF
##9C2FA01.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1757A3
Deuteranopia (green-blind)
#49659D
Tritanopia (blue-blind)
#A04164
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2fa0;
/* rgb */ color: rgb(156, 47, 160);
/* oklch */ color: oklch(51.4% 0.193 326.4);
Tailwind
colors: {
  custom: {
    50: '#bd72bc',
    500: '#9c2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fa0;
$custom-light: #bd72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fa0",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 297.876,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51356,
    "c": 0.19346,
    "h": 326.4
  },
  "luminance": 0.11639
}

Semantic roles & 50–950 ramp

primary
#9C2FA0
secondary
#70BE6D
accent
#DE4A4F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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