#9F3ABF#9F3ABF

#9F3ABF is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.208 H 316.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9F3ABF
RGBrgb(159, 58, 191)
HSLhsl(286, 53%, 49%)
HSVhsv(286, 70%, 75%)
CMYKcmyk(16.8%, 69.6%, 0%, 25.1%)
CIE-LABlab(44.46, 60.66, -50.76)
CIE-LCHlch(44.46, 79.10, 320.08°)
OKLaboklab(54.78% 0.1521 -0.1426)
OKLCHoklch(54.78% 0.209 316.8)
XYZxyz(25.2137, 14.1597, 50.6851)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3ABF #5ABF3A
analogous
#5D3ABF #9F3ABF #BF3A9D
triadic
#9F3ABF #BF9F3A #3ABF9F
tetradic
#9F3ABF #BF5D3A #5ABF3A #3A9DBF
square
#9F3ABF #BF5D3A #5ABF3A #3A9DBF
split-complementary
#9F3ABF #9DBF3A #3ABF5D
monochromatic
#511D61 #782C90 #9F3ABF #B766D0 #CD95DF

Accessibility & contrast

On white

5.48
#9F3ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9F3ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3ABF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3ABF#FFFFFF#000000##FFFFFF
##9F3ABF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#3C6CBC
Tritanopia (blue-blind)
#9D5478
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3abf;
/* rgb */ color: rgb(159, 58, 191);
/* oklch */ color: oklch(54.8% 0.208 316.8);
Tailwind
colors: {
  custom: {
    50: '#bf79d3',
    500: '#9f3abf',
    950: '#000000',
  },
}
SCSS
$custom: #9f3abf;
$custom-light: #bf79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3abf",
  "rgb": {
    "r": 159,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 285.564,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54781,
    "c": 0.2085,
    "h": 316.8
  },
  "luminance": 0.14159
}

Semantic roles & 50–950 ramp

primary
#9F3ABF
secondary
#9ACA8B
accent
#DD4B6E
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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