#9C2FB5#9C2FB5

#9C2FB5 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.211 H 319.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9C2FB5
RGBrgb(156, 47, 181)
HSLhsl(289, 59%, 45%)
HSVhsv(289, 74%, 71%)
CMYKcmyk(13.8%, 74%, 0%, 29%)
CIE-LABlab(41.90, 62.29, -49.02)
CIE-LCHlch(41.90, 79.27, 321.80°)
OKLaboklab(52.67% 0.1602 -0.1375)
OKLCHoklch(52.67% 0.211 319.4)
XYZxyz(23.0662, 12.4383, 44.8929)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FB5 #48B52F
analogous
#592FB5 #9C2FB5 #B52F8B
triadic
#9C2FB5 #B59C2F #2FB59C
tetradic
#9C2FB5 #B5592F #48B52F #2F8BB5
square
#9C2FB5 #B5592F #48B52F #2F8BB5
split-complementary
#9C2FB5 #8BB52F #2FB559
monochromatic
#481654 #722284 #9C2FB5 #B950D1 #CD80DE

Accessibility & contrast

On white

6.02
#9C2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9C2FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FB5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FB5#FFFFFF#000000##FFFFFF
##9C2FB51.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#3966B2
Tritanopia (blue-blind)
#9C4A70
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2fb5;
/* rgb */ color: rgb(156, 47, 181);
/* oklch */ color: oklch(52.7% 0.211 319.4);
Tailwind
colors: {
  custom: {
    50: '#bd73cc',
    500: '#9c2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fb5;
$custom-light: #bd73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fb5",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 288.806,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.21115,
    "h": 319.4
  },
  "luminance": 0.12437
}

Semantic roles & 50–950 ramp

primary
#9C2FB5
secondary
#87C779
accent
#E24663
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9C2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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