#9C319F#9C319F

#9C319F is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.190 H 326.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9C319F
RGBrgb(156, 49, 159)
HSLhsl(298, 53%, 41%)
HSVhsv(298, 69%, 62%)
CMYKcmyk(1.9%, 69.2%, 0%, 37.6%)
CIE-LABlab(40.85, 57.56, -37.62)
CIE-LCHlch(40.85, 68.76, 326.83°)
OKLaboklab(51.49% 0.1591 -0.1043)
OKLCHoklch(51.49% 0.19 326.8)
XYZxyz(21.0663, 11.7692, 33.9563)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C319F #349F31
analogous
#65319F #9C319F #9F316B
triadic
#9C319F #9F9C31 #319F9C
tetradic
#9C319F #9F6531 #349F31 #316B9F
square
#9C319F #9F6531 #349F31 #316B9F
split-complementary
#9C319F #6B9F31 #319F65
monochromatic
#401441 #6E2370 #9C319F #C347C6 #D276D5

Accessibility & contrast

On white

6.26
#9C319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9C319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C319F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C319F#FFFFFF#000000##FFFFFF
##9C319F1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C58A2
Deuteranopia (green-blind)
#4B659C
Tritanopia (blue-blind)
#A04264
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c319f;
/* rgb */ color: rgb(156, 49, 159);
/* oklch */ color: oklch(51.5% 0.190 326.8);
Tailwind
colors: {
  custom: {
    50: '#bd73bc',
    500: '#9c319f',
    950: '#000000',
  },
}
SCSS
$custom: #9c319f;
$custom-light: #bd73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c319f",
  "rgb": {
    "r": 156,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 298.364,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51488,
    "c": 0.19023,
    "h": 326.8
  },
  "luminance": 0.11768
}

Semantic roles & 50–950 ramp

primary
#9C319F
secondary
#71BD6F
accent
#DC4C4F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C319F

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

Preview Lab → · Contrast checker → · Palette generator →

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