#9C1FA8#9C1FA8

#9C1FA8 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.216 H 324.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9C1FA8
RGBrgb(156, 31, 168)
HSLhsl(295, 69%, 39%)
HSVhsv(295, 82%, 66%)
CMYKcmyk(7.1%, 81.5%, 0%, 34.1%)
CIE-LABlab(39.37, 64.88, -45.36)
CIE-LCHlch(39.37, 79.17, 325.04°)
OKLaboklab(50.61% 0.1747 -0.1267)
OKLCHoklch(50.61% 0.216 324)
XYZxyz(21.2676, 10.8764, 38.0174)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1FA8 #2BA81F
analogous
#581FA8 #9C1FA8 #A81F6F
triadic
#9C1FA8 #A89C1F #1FA89C
tetradic
#9C1FA8 #A8581F #2BA81F #1F6FA8
square
#9C1FA8 #A8581F #2BA81F #1F6FA8
split-complementary
#9C1FA8 #6FA81F #1FA858
monochromatic
#3C0C41 #6C1574 #9C1FA8 #C92CD8 #D660E2

Accessibility & contrast

On white

6.61
#9C1FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9C1FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1FA8
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1FA8#FFFFFF#000000##FFFFFF
##9C1FA81.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#3C62A5
Tritanopia (blue-blind)
#9F3C65
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c1fa8;
/* rgb */ color: rgb(156, 31, 168);
/* oklch */ color: oklch(50.6% 0.216 324.0);
Tailwind
colors: {
  custom: {
    50: '#bd6cc2',
    500: '#9c1fa8',
    950: '#000000',
  },
}
SCSS
$custom: #9c1fa8;
$custom-light: #bd6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1fa8",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 294.745,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.21582,
    "h": 324
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#9C1FA8
secondary
#66C65D
accent
#EC3C4B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9C1FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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