#9F3191#9F3191

#9F3191 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.181 H 333.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9F3191
RGBrgb(159, 49, 145)
HSLhsl(308, 53%, 41%)
HSVhsv(308, 69%, 62%)
CMYKcmyk(0%, 69.2%, 8.8%, 37.6%)
CIE-LABlab(40.60, 55.94, -29.52)
CIE-LCHlch(40.60, 63.25, 332.18°)
OKLaboklab(51.16% 0.1616 -0.0808)
OKLCHoklch(51.16% 0.181 333.4)
XYZxyz(20.5073, 11.6136, 27.9441)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3191 #319F3F
analogous
#76319F #9F3191 #9F315A
triadic
#9F3191 #919F31 #31919F
tetradic
#9F3191 #9F7631 #319F3F #315A9F
square
#9F3191 #9F7631 #319F3F #315A9F
split-complementary
#9F3191 #5A9F31 #319F76
monochromatic
#41143C #702366 #9F3191 #C647B6 #D576C9

Accessibility & contrast

On white

6.32
#9F3191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9F3191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3191
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3191#FFFFFF#000000##FFFFFF
##9F31911.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5594
Deuteranopia (green-blind)
#54658E
Tritanopia (blue-blind)
#A63B5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f3191;
/* rgb */ color: rgb(159, 49, 145);
/* oklch */ color: oklch(51.2% 0.181 333.4);
Tailwind
colors: {
  custom: {
    50: '#bf73b1',
    500: '#9f3191',
    950: '#000000',
  },
}
SCSS
$custom: #9f3191;
$custom-light: #bf73b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3191",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 307.636,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51161,
    "c": 0.18071,
    "h": 333.4
  },
  "luminance": 0.11612
}

Semantic roles & 50–950 ramp

primary
#9F3191
secondary
#6FBD79
accent
#DC5E4C
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130911
muted
#827B80

Preview Lab

Preview with #9F3191

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

Preview Lab → · Contrast checker → · Palette generator →

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