#9F3BB6#9F3BB6

#9F3BB6 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.199 H 319.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9F3BB6
RGBrgb(159, 59, 182)
HSLhsl(289, 51%, 47%)
HSVhsv(289, 68%, 71%)
CMYKcmyk(12.6%, 67.6%, 0%, 28.6%)
CIE-LABlab(44.06, 58.50, -46.14)
CIE-LCHlch(44.06, 74.50, 321.74°)
OKLaboklab(54.32% 0.1515 -0.1291)
OKLCHoklch(54.32% 0.199 319.6)
XYZxyz(24.3045, 13.8774, 45.6453)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BB6 #52B63B
analogous
#613BB6 #9F3BB6 #B63B90
triadic
#9F3BB6 #B69F3B #3BB69F
tetradic
#9F3BB6 #B6613B #52B63B #3B90B6
square
#9F3BB6 #B6613B #52B63B #3B90B6
split-complementary
#9F3BB6 #90B63B #3BB661
monochromatic
#4E1D5A #772C88 #9F3BB6 #B862CC #CD90DB

Accessibility & contrast

On white

5.56
#9F3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9F3BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BB6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BB6#FFFFFF#000000##FFFFFF
##9F3BB61.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A61BA
Deuteranopia (green-blind)
#446CB3
Tritanopia (blue-blind)
#9F5174
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f3bb6;
/* rgb */ color: rgb(159, 59, 182);
/* oklch */ color: oklch(54.3% 0.199 319.6);
Tailwind
colors: {
  custom: {
    50: '#bf79cc',
    500: '#9f3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bb6;
$custom-light: #bf79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bb6",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 288.78,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54315,
    "c": 0.19904,
    "h": 319.6
  },
  "luminance": 0.13876
}

Semantic roles & 50–950 ramp

primary
#9F3BB6
secondary
#93C687
accent
#DB4D68
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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