#9C2FB1#9C2FB1

#9C2FB1 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.208 H 320.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9C2FB1
RGBrgb(156, 47, 177)
HSLhsl(290, 58%, 44%)
HSVhsv(290, 73%, 69%)
CMYKcmyk(11.9%, 73.4%, 0%, 30.6%)
CIE-LABlab(41.65, 61.54, -47.06)
CIE-LCHlch(41.65, 77.47, 322.59°)
OKLaboklab(52.41% 0.1605 -0.1318)
OKLCHoklch(52.41% 0.208 320.6)
XYZxyz(22.6617, 12.2765, 42.7624)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FB1 #44B12F
analogous
#5B2FB1 #9C2FB1 #B12F85
triadic
#9C2FB1 #B19C2F #2FB19C
tetradic
#9C2FB1 #B15B2F #44B12F #2F85B1
square
#9C2FB1 #B15B2F #44B12F #2F85B1
split-complementary
#9C2FB1 #85B12F #2FB15B
monochromatic
#471550 #712281 #9C2FB1 #BB4DD0 #CD7EDD

Accessibility & contrast

On white

6.08
#9C2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9C2FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FB1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FB1#FFFFFF#000000##FFFFFF
##9C2FB11.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#9D486E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c2fb1;
/* rgb */ color: rgb(156, 47, 177);
/* oklch */ color: oklch(52.4% 0.208 320.6);
Tailwind
colors: {
  custom: {
    50: '#bd73c9',
    500: '#9c2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fb1;
$custom-light: #bd73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fb1",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 290.308,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52406,
    "c": 0.20772,
    "h": 320.6
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#9C2FB1
secondary
#83C576
accent
#E14760
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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