#9C31D0#9C31D0

#9C31D0 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.233 H 311.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9C31D0
RGBrgb(156, 49, 208)
HSLhsl(280, 63%, 50%)
HSVhsv(280, 76%, 82%)
CMYKcmyk(25%, 76.4%, 0%, 18.4%)
CIE-LABlab(43.97, 66.87, -61.43)
CIE-LCHlch(43.97, 90.80, 317.43°)
OKLaboklab(54.71% 0.1546 -0.174)
OKLCHoklch(54.71% 0.233 311.6)
XYZxyz(26.1916, 13.8193, 60.9499)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C31D0 #65D031
analogous
#4C31D0 #9C31D0 #D031B5
triadic
#9C31D0 #D09C31 #31D09C
tetradic
#9C31D0 #D04C31 #65D031 #31B5D0
square
#9C31D0 #D04C31 #65D031 #31B5D0
split-complementary
#9C31D0 #B5D031 #31D04C
monochromatic
#52196E #77249F #9C31D0 #B463DB #CC95E7

Accessibility & contrast

On white

5.58
#9C31D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9C31D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C31D0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C31D0#FFFFFF#000000##FFFFFF
##9C31D01.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#0F6ACD
Tritanopia (blue-blind)
#955780
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c31d0;
/* rgb */ color: rgb(156, 49, 208);
/* oklch */ color: oklch(54.7% 0.233 311.6);
Tailwind
colors: {
  custom: {
    50: '#be75df',
    500: '#9c31d0',
    950: '#000000',
  },
}
SCSS
$custom: #9c31d0;
$custom-light: #be75df;
$custom-dark: #000000;
JSON
{
  "hex": "#9c31d0",
  "rgb": {
    "r": 156,
    "g": 49,
    "b": 208
  },
  "hsl": {
    "h": 280.377,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54707,
    "c": 0.23272,
    "h": 311.6
  },
  "luminance": 0.13819
}

Semantic roles & 50–950 ramp

primary
#9C31D0
secondary
#A2D28B
accent
#E64278
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C31D0

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

Preview Lab → · Contrast checker → · Palette generator →

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