#9F3192#9F3192

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

Color values

HEX#9F3192
RGBrgb(159, 49, 146)
HSLhsl(307, 53%, 41%)
HSVhsv(307, 69%, 62%)
CMYKcmyk(0%, 69.2%, 8.2%, 37.6%)
CIE-LABlab(40.65, 56.10, -30.05)
CIE-LCHlch(40.65, 63.65, 331.83°)
OKLaboklab(51.21% 0.1617 -0.0823)
OKLCHoklch(51.21% 0.181 333)
XYZxyz(20.5848, 11.6445, 28.3520)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3192 #319F3E
analogous
#75319F #9F3192 #9F315B
triadic
#9F3192 #929F31 #31929F
tetradic
#9F3192 #9F7531 #319F3E #315B9F
square
#9F3192 #9F7531 #319F3E #315B9F
split-complementary
#9F3192 #5B9F31 #319F75
monochromatic
#41143C #702367 #9F3192 #C647B7 #D576C9

Accessibility & contrast

On white

6.31
#9F3192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9F3192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3192
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3192#FFFFFF#000000##FFFFFF
##9F31921.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f3192;
/* rgb */ color: rgb(159, 49, 146);
/* oklch */ color: oklch(51.2% 0.181 333.0);
Tailwind
colors: {
  custom: {
    50: '#bf73b2',
    500: '#9f3192',
    950: '#000000',
  },
}
SCSS
$custom: #9f3192;
$custom-light: #bf73b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3192",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 307.091,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.18147,
    "h": 333
  },
  "luminance": 0.11643
}

Semantic roles & 50–950 ramp

primary
#9F3192
secondary
#6FBD78
accent
#DC5D4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #9F3192

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

Preview Lab → · Contrast checker → · Palette generator →

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