#9C31CF#9C31CF

#9C31CF is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.232 H 311.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9C31CF
RGBrgb(156, 49, 207)
HSLhsl(281, 62%, 50%)
HSVhsv(281, 76%, 81%)
CMYKcmyk(24.6%, 76.3%, 0%, 18.8%)
CIE-LABlab(43.90, 66.66, -60.97)
CIE-LCHlch(43.90, 90.34, 317.56°)
OKLaboklab(54.63% 0.1548 -0.1726)
OKLCHoklch(54.63% 0.232 311.9)
XYZxyz(26.0690, 13.7703, 60.3040)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C31CF #64CF31
analogous
#4D31CF #9C31CF #CF31B3
triadic
#9C31CF #CF9C31 #31CF9C
tetradic
#9C31CF #CF4D31 #64CF31 #31B3CF
square
#9C31CF #CF4D31 #64CF31 #31B3CF
split-complementary
#9C31CF #B3CF31 #31CF4D
monochromatic
#52196C #77259E #9C31CF #B463DB #CC94E6

Accessibility & contrast

On white

5.59
#9C31CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9C31CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C31CF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C31CF#FFFFFF#000000##FFFFFF
##9C31CF1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#136ACC
Tritanopia (blue-blind)
#96577F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c31cf;
/* rgb */ color: rgb(156, 49, 207);
/* oklch */ color: oklch(54.6% 0.232 311.9);
Tailwind
colors: {
  custom: {
    50: '#be75df',
    500: '#9c31cf',
    950: '#000000',
  },
}
SCSS
$custom: #9c31cf;
$custom-light: #be75df;
$custom-dark: #000000;
JSON
{
  "hex": "#9c31cf",
  "rgb": {
    "r": 156,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 280.633,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.23184,
    "h": 311.9
  },
  "luminance": 0.1377
}

Semantic roles & 50–950 ramp

primary
#9C31CF
secondary
#A1D18B
accent
#E54377
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C31CF

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

Preview Lab → · Contrast checker → · Palette generator →

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