#9F3BB7#9F3BB7

#9F3BB7 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.4% C 0.200 H 319.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9F3BB7
RGBrgb(159, 59, 183)
HSLhsl(288, 51%, 47%)
HSVhsv(288, 68%, 72%)
CMYKcmyk(13.1%, 67.8%, 0%, 28.2%)
CIE-LABlab(44.12, 58.69, -46.63)
CIE-LCHlch(44.12, 74.96, 321.53°)
OKLaboklab(54.38% 0.1515 -0.1305)
OKLCHoklch(54.38% 0.2 319.2)
XYZxyz(24.4082, 13.9189, 46.1915)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BB7 #53B73B
analogous
#613BB7 #9F3BB7 #B73B91
triadic
#9F3BB7 #B79F3B #3BB79F
tetradic
#9F3BB7 #B7613B #53B73B #3B91B7
square
#9F3BB7 #B7613B #53B73B #3B91B7
split-complementary
#9F3BB7 #91B73B #3BB761
monochromatic
#4F1D5A #772C89 #9F3BB7 #B863CD #CD91DC

Accessibility & contrast

On white

5.55
#9F3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F3BB7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BB7#FFFFFF#000000##FFFFFF
##9F3BB71.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0662BB
Deuteranopia (green-blind)
#446CB4
Tritanopia (blue-blind)
#9F5274
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f3bb7;
/* rgb */ color: rgb(159, 59, 183);
/* oklch */ color: oklch(54.4% 0.200 319.2);
Tailwind
colors: {
  custom: {
    50: '#bf79cd',
    500: '#9f3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bb7;
$custom-light: #bf79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bb7",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 288.387,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54377,
    "c": 0.19995,
    "h": 319.2
  },
  "luminance": 0.13918
}

Semantic roles & 50–950 ramp

primary
#9F3BB7
secondary
#94C687
accent
#DB4D69
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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