#9F3BC7#9F3BC7

#9F3BC7 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.215 H 314.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9F3BC7
RGBrgb(159, 59, 199)
HSLhsl(283, 56%, 51%)
HSVhsv(283, 70%, 78%)
CMYKcmyk(20.1%, 70.4%, 0%, 22%)
CIE-LABlab(45.11, 61.86, -54.36)
CIE-LCHlch(45.11, 82.35, 318.69°)
OKLaboklab(55.41% 0.1504 -0.1532)
OKLCHoklch(55.41% 0.215 314.5)
XYZxyz(26.1691, 14.6233, 55.4658)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BC7 #63C73B
analogous
#593BC7 #9F3BC7 #C73BA9
triadic
#9F3BC7 #C79F3B #3BC79F
tetradic
#9F3BC7 #C7593B #63C73B #3BA9C7
square
#9F3BC7 #C7593B #63C73B #3BA9C7
split-complementary
#9F3BC7 #A9C73B #3BC759
monochromatic
#541E69 #7A2C99 #9F3BC7 #B66BD5 #CE9AE2

Accessibility & contrast

On white

5.35
#9F3BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9F3BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BC7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BC7#FFFFFF#000000##FFFFFF
##9F3BC71.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#346DC4
Tritanopia (blue-blind)
#9B587D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f3bc7;
/* rgb */ color: rgb(159, 59, 199);
/* oklch */ color: oklch(55.4% 0.215 314.5);
Tailwind
colors: {
  custom: {
    50: '#bf79d9',
    500: '#9f3bc7',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bc7;
$custom-light: #bf79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bc7",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 282.857,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5541,
    "c": 0.21465,
    "h": 314.5
  },
  "luminance": 0.14622
}

Semantic roles & 50–950 ramp

primary
#9F3BC7
secondary
#A2CE90
accent
#DF4974
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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