#9F3ABB#9F3ABB

#9F3ABB is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.5% C 0.205 H 318.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9F3ABB
RGBrgb(159, 58, 187)
HSLhsl(287, 53%, 48%)
HSVhsv(287, 69%, 73%)
CMYKcmyk(15%, 69%, 0%, 26.7%)
CIE-LABlab(44.21, 59.88, -48.82)
CIE-LCHlch(44.21, 77.26, 320.81°)
OKLaboklab(54.52% 0.1524 -0.1369)
OKLCHoklch(54.52% 0.205 318)
XYZxyz(24.7795, 13.9860, 48.3984)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3ABB #56BB3A
analogous
#5F3ABB #9F3ABB #BB3A96
triadic
#9F3ABB #BB9F3A #3ABB9F
tetradic
#9F3ABB #BB5F3A #56BB3A #3A96BB
square
#9F3ABB #BB5F3A #56BB3A #3A96BB
split-complementary
#9F3ABB #96BB3A #3ABB5F
monochromatic
#501D5E #772C8C #9F3ABB #B763CF #CD92DD

Accessibility & contrast

On white

5.53
#9F3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9F3ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3ABB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3ABB#FFFFFF#000000##FFFFFF
##9F3ABB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#3F6CB8
Tritanopia (blue-blind)
#9E5376
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3abb;
/* rgb */ color: rgb(159, 58, 187);
/* oklch */ color: oklch(54.5% 0.205 318.0);
Tailwind
colors: {
  custom: {
    50: '#bf79d0',
    500: '#9f3abb',
    950: '#000000',
  },
}
SCSS
$custom: #9f3abb;
$custom-light: #bf79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3abb",
  "rgb": {
    "r": 159,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 286.977,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54524,
    "c": 0.20485,
    "h": 318
  },
  "luminance": 0.13985
}

Semantic roles & 50–950 ramp

primary
#9F3ABB
secondary
#96C888
accent
#DC4C6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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