#9F3ABC#9F3ABC

#9F3ABC is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.206 H 317.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9F3ABC
RGBrgb(159, 58, 188)
HSLhsl(287, 53%, 48%)
HSVhsv(287, 69%, 74%)
CMYKcmyk(15.4%, 69.1%, 0%, 26.3%)
CIE-LABlab(44.27, 60.07, -49.31)
CIE-LCHlch(44.27, 77.72, 320.62°)
OKLaboklab(54.59% 0.1523 -0.1384)
OKLCHoklch(54.59% 0.206 317.7)
XYZxyz(24.8869, 14.0289, 48.9641)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3ABC #57BC3A
analogous
#5E3ABC #9F3ABC #BC3A98
triadic
#9F3ABC #BC9F3A #3ABC9F
tetradic
#9F3ABC #BC5E3A #57BC3A #3A98BC
square
#9F3ABC #BC5E3A #57BC3A #3A98BC
split-complementary
#9F3ABC #98BC3A #3ABC5E
monochromatic
#501D5E #772C8D #9F3ABC #B764CF #CD93DE

Accessibility & contrast

On white

5.52
#9F3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9F3ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3ABC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3ABC#FFFFFF#000000##FFFFFF
##9F3ABC1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f3abc;
/* rgb */ color: rgb(159, 58, 188);
/* oklch */ color: oklch(54.6% 0.206 317.7);
Tailwind
colors: {
  custom: {
    50: '#bf79d1',
    500: '#9f3abc',
    950: '#000000',
  },
}
SCSS
$custom: #9f3abc;
$custom-light: #bf79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3abc",
  "rgb": {
    "r": 159,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 286.615,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54588,
    "c": 0.20576,
    "h": 317.7
  },
  "luminance": 0.14028
}

Semantic roles & 50–950 ramp

primary
#9F3ABC
secondary
#97C989
accent
#DC4C6C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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