#9F3ABA#9F3ABA

#9F3ABA is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.204 H 318.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9F3ABA
RGBrgb(159, 58, 186)
HSLhsl(287, 52%, 48%)
HSVhsv(287, 69%, 73%)
CMYKcmyk(14.5%, 68.8%, 0%, 27.1%)
CIE-LABlab(44.15, 59.68, -48.33)
CIE-LCHlch(44.15, 76.80, 321.00°)
OKLaboklab(54.46% 0.1524 -0.1355)
OKLCHoklch(54.46% 0.204 318.4)
XYZxyz(24.6728, 13.9433, 47.8365)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3ABA #55BA3A
analogous
#5F3ABA #9F3ABA #BA3A95
triadic
#9F3ABA #BA9F3A #3ABA9F
tetradic
#9F3ABA #BA5F3A #55BA3A #3A95BA
square
#9F3ABA #BA5F3A #55BA3A #3A95BA
split-complementary
#9F3ABA #95BA3A #3ABA5F
monochromatic
#4F1D5D #772B8B #9F3ABA #B863CE #CD92DD

Accessibility & contrast

On white

5.54
#9F3ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9F3ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3ABA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3ABA#FFFFFF#000000##FFFFFF
##9F3ABA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#406CB7
Tritanopia (blue-blind)
#9E5276
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f3aba;
/* rgb */ color: rgb(159, 58, 186);
/* oklch */ color: oklch(54.5% 0.204 318.4);
Tailwind
colors: {
  custom: {
    50: '#bf78cf',
    500: '#9f3aba',
    950: '#000000',
  },
}
SCSS
$custom: #9f3aba;
$custom-light: #bf78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3aba",
  "rgb": {
    "r": 159,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 287.344,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.20394,
    "h": 318.4
  },
  "luminance": 0.13942
}

Semantic roles & 50–950 ramp

primary
#9F3ABA
secondary
#95C888
accent
#DC4C6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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