#9C2FAB#9C2FAB

#9C2FAB is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.203 H 322.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9C2FAB
RGBrgb(156, 47, 171)
HSLhsl(293, 57%, 43%)
HSVhsv(293, 73%, 67%)
CMYKcmyk(8.8%, 72.5%, 0%, 32.9%)
CIE-LABlab(41.28, 60.44, -44.09)
CIE-LCHlch(41.28, 74.81, 323.89°)
OKLaboklab(52.03% 0.1609 -0.1231)
OKLCHoklch(52.03% 0.203 322.6)
XYZxyz(22.0768, 12.0425, 39.6818)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FAB #3EAB2F
analogous
#5E2FAB #9C2FAB #AB2F7C
triadic
#9C2FAB #AB9C2F #2FAB9C
tetradic
#9C2FAB #AB5E2F #3EAB2F #2F7CAB
square
#9C2FAB #AB5E2F #3EAB2F #2F7CAB
split-complementary
#9C2FAB #7CAB2F #2FAB5E
monochromatic
#44154B #70227B #9C2FAB #BD4ACD #CF7ADA

Accessibility & contrast

On white

6.16
#9C2FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9C2FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FAB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FAB#FFFFFF#000000##FFFFFF
##9C2FAB1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4266A8
Tritanopia (blue-blind)
#9E466A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2fab;
/* rgb */ color: rgb(156, 47, 171);
/* oklch */ color: oklch(52.0% 0.203 322.6);
Tailwind
colors: {
  custom: {
    50: '#bd72c4',
    500: '#9c2fab',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fab;
$custom-light: #bd72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fab",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 292.742,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.20263,
    "h": 322.6
  },
  "luminance": 0.12041
}

Semantic roles & 50–950 ramp

primary
#9C2FAB
secondary
#7DC373
accent
#E0485A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C2FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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