#9F3FB7#9F3FB7

#9F3FB7 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.8% C 0.195 H 319.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9F3FB7
RGBrgb(159, 63, 183)
HSLhsl(288, 49%, 48%)
HSVhsv(288, 66%, 72%)
CMYKcmyk(13.1%, 65.6%, 0%, 28.2%)
CIE-LABlab(44.73, 56.99, -45.66)
CIE-LCHlch(44.73, 73.02, 321.30°)
OKLaboklab(54.82% 0.147 -0.1277)
OKLCHoklch(54.82% 0.195 319)
XYZxyz(24.6217, 14.3459, 46.2627)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FB7 #57B73F
analogous
#633FB7 #9F3FB7 #B73F93
triadic
#9F3FB7 #B79F3F #3FB79F
tetradic
#9F3FB7 #B7633F #57B73F #3F93B7
square
#9F3FB7 #B7633F #57B73F #3F93B7
split-complementary
#9F3FB7 #93B73F #3FB763
monochromatic
#50205C #772F89 #9F3FB7 #B768CB #CD96DB

Accessibility & contrast

On white

5.43
#9F3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9F3FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FB7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FB7#FFFFFF#000000##FFFFFF
##9F3FB71.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1663BB
Deuteranopia (green-blind)
#476DB4
Tritanopia (blue-blind)
#9F5476
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f3fb7;
/* rgb */ color: rgb(159, 63, 183);
/* oklch */ color: oklch(54.8% 0.195 319.0);
Tailwind
colors: {
  custom: {
    50: '#bf7bcd',
    500: '#9f3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fb7;
$custom-light: #bf7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fb7",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 288,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54815,
    "c": 0.19471,
    "h": 319
  },
  "luminance": 0.14345
}

Semantic roles & 50–950 ramp

primary
#9F3FB7
secondary
#97C68B
accent
#D84F6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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