#9F319A#9F319A

#9F319A is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.6% C 0.188 H 329.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9F319A
RGBrgb(159, 49, 154)
HSLhsl(303, 53%, 41%)
HSVhsv(303, 69%, 62%)
CMYKcmyk(0%, 69.2%, 3.1%, 37.6%)
CIE-LABlab(41.06, 57.42, -34.24)
CIE-LCHlch(41.06, 66.85, 329.19°)
OKLaboklab(51.65% 0.1623 -0.0944)
OKLCHoklch(51.65% 0.188 329.8)
XYZxyz(21.2290, 11.9022, 31.7448)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F319A #319F36
analogous
#6D319F #9F319A #9F3163
triadic
#9F319A #9A9F31 #319A9F
tetradic
#9F319A #9F6D31 #319F36 #31639F
square
#9F319A #9F6D31 #319F36 #31639F
split-complementary
#9F319A #639F31 #319F6D
monochromatic
#41143F #70236D #9F319A #C647C0 #D576D0

Accessibility & contrast

On white

6.21
#9F319A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9F319A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F319A
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F319A#FFFFFF#000000##FFFFFF
##9F319A1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579D
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#A53F62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f319a;
/* rgb */ color: rgb(159, 49, 154);
/* oklch */ color: oklch(51.6% 0.188 329.8);
Tailwind
colors: {
  custom: {
    50: '#bf73b8',
    500: '#9f319a',
    950: '#000000',
  },
}
SCSS
$custom: #9f319a;
$custom-light: #bf73b8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f319a",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 302.727,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51648,
    "c": 0.18774,
    "h": 329.8
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

primary
#9F319A
secondary
#6FBD73
accent
#DC524C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #9F319A

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

Preview Lab → · Contrast checker → · Palette generator →

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