#9C31B0#9C31B0

#9C31B0 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.205 H 320.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9C31B0
RGBrgb(156, 49, 176)
HSLhsl(291, 56%, 44%)
HSVhsv(291, 72%, 69%)
CMYKcmyk(11.4%, 72.2%, 0%, 31%)
CIE-LABlab(41.85, 60.63, -46.16)
CIE-LCHlch(41.85, 76.20, 322.71°)
OKLaboklab(52.52% 0.1587 -0.1292)
OKLCHoklch(52.52% 0.205 320.8)
XYZxyz(22.6442, 12.4003, 42.2666)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C31B0 #45B031
analogous
#5D31B0 #9C31B0 #B03185
triadic
#9C31B0 #B09C31 #31B09C
tetradic
#9C31B0 #B05D31 #45B031 #3185B0
square
#9C31B0 #B05D31 #45B031 #3185B0
split-complementary
#9C31B0 #85B031 #31B05D
monochromatic
#471650 #722480 #9C31B0 #BA50CE #CD80DC

Accessibility & contrast

On white

6.03
#9C31B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9C31B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C31B0
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C31B0#FFFFFF#000000##FFFFFF
##9C31B01.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#3F67AD
Tritanopia (blue-blind)
#9D496E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c31b0;
/* rgb */ color: rgb(156, 49, 176);
/* oklch */ color: oklch(52.5% 0.205 320.8);
Tailwind
colors: {
  custom: {
    50: '#bd73c8',
    500: '#9c31b0',
    950: '#000000',
  },
}
SCSS
$custom: #9c31b0;
$custom-light: #bd73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c31b0",
  "rgb": {
    "r": 156,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 290.551,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.20461,
    "h": 320.8
  },
  "luminance": 0.12399
}

Semantic roles & 50–950 ramp

primary
#9C31B0
secondary
#84C578
accent
#E04860
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C31B0

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

Preview Lab → · Contrast checker → · Palette generator →

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