#9C2FA8#9C2FA8

#9C2FA8 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.200 H 323.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9C2FA8
RGBrgb(156, 47, 168)
HSLhsl(294, 56%, 42%)
HSVhsv(294, 72%, 66%)
CMYKcmyk(7.1%, 72%, 0%, 34.1%)
CIE-LABlab(41.10, 59.90, -42.59)
CIE-LCHlch(41.10, 73.50, 324.58°)
OKLaboklab(51.84% 0.1611 -0.1188)
OKLCHoklch(51.84% 0.2 323.6)
XYZxyz(21.7941, 11.9294, 38.1929)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FA8 #3BA82F
analogous
#602FA8 #9C2FA8 #A82F77
triadic
#9C2FA8 #A89C2F #2FA89C
tetradic
#9C2FA8 #A8602F #3BA82F #2F77A8
square
#9C2FA8 #A8602F #3BA82F #2F77A8
split-complementary
#9C2FA8 #77A82F #2FA860
monochromatic
#431448 #702278 #9C2FA8 #BF48CC #D078D9

Accessibility & contrast

On white

6.20
#9C2FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2FA8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FA8#FFFFFF#000000##FFFFFF
##9C2FA81.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0159AB
Deuteranopia (green-blind)
#4465A5
Tritanopia (blue-blind)
#9F4469
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2fa8;
/* rgb */ color: rgb(156, 47, 168);
/* oklch */ color: oklch(51.8% 0.200 323.6);
Tailwind
colors: {
  custom: {
    50: '#bd72c2',
    500: '#9c2fa8',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fa8;
$custom-light: #bd72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fa8",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 294.05,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51839,
    "c": 0.20011,
    "h": 323.6
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#9C2FA8
secondary
#79C171
accent
#E04857
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9C2FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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