#9F3BB3#9F3BB3

#9F3BB3 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.196 H 320.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9F3BB3
RGBrgb(159, 59, 179)
HSLhsl(290, 50%, 47%)
HSVhsv(290, 67%, 70%)
CMYKcmyk(11.2%, 67%, 0%, 29.8%)
CIE-LABlab(43.88, 57.92, -44.66)
CIE-LCHlch(43.88, 73.14, 322.37°)
OKLaboklab(54.13% 0.1516 -0.1248)
OKLCHoklch(54.13% 0.196 320.5)
XYZxyz(23.9978, 13.7547, 44.0300)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BB3 #4FB33B
analogous
#633BB3 #9F3BB3 #B33B8B
triadic
#9F3BB3 #B39F3B #3BB39F
tetradic
#9F3BB3 #B3633B #4FB33B #3B8BB3
square
#9F3BB3 #B3633B #4FB33B #3B8BB3
split-complementary
#9F3BB3 #8BB33B #3BB363
monochromatic
#4D1D57 #762C85 #9F3BB3 #B960CB #CD8EDA

Accessibility & contrast

On white

5.60
#9F3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9F3BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BB3
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BB3#FFFFFF#000000##FFFFFF
##9F3BB31.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1361B7
Deuteranopia (green-blind)
#476BB0
Tritanopia (blue-blind)
#A05072
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f3bb3;
/* rgb */ color: rgb(159, 59, 179);
/* oklch */ color: oklch(54.1% 0.196 320.5);
Tailwind
colors: {
  custom: {
    50: '#bf79ca',
    500: '#9f3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bb3;
$custom-light: #bf79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bb3",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 290,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5413,
    "c": 0.19633,
    "h": 320.5
  },
  "luminance": 0.13754
}

Semantic roles & 50–950 ramp

primary
#9F3BB3
secondary
#90C585
accent
#DA4E65
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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