#9F3BBC#9F3BBC

#9F3BBC is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.205 H 317.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9F3BBC
RGBrgb(159, 59, 188)
HSLhsl(287, 52%, 48%)
HSVhsv(287, 69%, 74%)
CMYKcmyk(15.4%, 68.6%, 0%, 26.3%)
CIE-LABlab(44.42, 59.66, -49.07)
CIE-LCHlch(44.42, 77.25, 320.56°)
OKLaboklab(54.69% 0.1512 -0.1377)
OKLCHoklch(54.69% 0.205 317.7)
XYZxyz(24.9378, 14.1308, 48.9811)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BBC #58BC3B
analogous
#5E3BBC #9F3BBC #BC3B98
triadic
#9F3BBC #BC9F3B #3BBC9F
tetradic
#9F3BBC #BC5E3B #58BC3B #3B98BC
square
#9F3BBC #BC5E3B #58BC3B #3B98BC
split-complementary
#9F3BBC #98BC3B #3BBC5E
monochromatic
#501E5F #782C8D #9F3BBC #B765CF #CD94DD

Accessibility & contrast

On white

5.49
#9F3BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9F3BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BBC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BBC#FFFFFF#000000##FFFFFF
##9F3BBC1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#9E5477
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3bbc;
/* rgb */ color: rgb(159, 59, 188);
/* oklch */ color: oklch(54.7% 0.205 317.7);
Tailwind
colors: {
  custom: {
    50: '#bf79d1',
    500: '#9f3bbc',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bbc;
$custom-light: #bf79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bbc",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 188
  },
  "hsl": {
    "h": 286.512,
    "s": 52.227,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54692,
    "c": 0.20452,
    "h": 317.7
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

primary
#9F3BBC
secondary
#98C98A
accent
#DC4C6C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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