#9F3AC6#9F3AC6

#9F3AC6 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.215 H 314.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9F3AC6
RGBrgb(159, 58, 198)
HSLhsl(283, 55%, 50%)
HSVhsv(283, 71%, 78%)
CMYKcmyk(19.7%, 70.7%, 0%, 22.4%)
CIE-LABlab(44.91, 62.06, -54.11)
CIE-LCHlch(44.91, 82.34, 318.91°)
OKLaboklab(55.24% 0.1515 -0.1524)
OKLCHoklch(55.24% 0.215 314.8)
XYZxyz(26.0025, 14.4752, 54.8394)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3AC6 #61C63A
analogous
#593AC6 #9F3AC6 #C63AA7
triadic
#9F3AC6 #C69F3A #3AC69F
tetradic
#9F3AC6 #C6593A #61C63A #3AA7C6
square
#9F3AC6 #C6593A #61C63A #3AA7C6
split-complementary
#9F3AC6 #A7C63A #3AC659
monochromatic
#531E68 #792C97 #9F3AC6 #B669D4 #CD99E1

Accessibility & contrast

On white

5.39
#9F3AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9F3AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3AC6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3AC6#FFFFFF#000000##FFFFFF
##9F3AC61.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#356DC3
Tritanopia (blue-blind)
#9C577C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f3ac6;
/* rgb */ color: rgb(159, 58, 198);
/* oklch */ color: oklch(55.2% 0.215 314.8);
Tailwind
colors: {
  custom: {
    50: '#bf79d8',
    500: '#9f3ac6',
    950: '#000000',
  },
}
SCSS
$custom: #9f3ac6;
$custom-light: #bf79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3ac6",
  "rgb": {
    "r": 159,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 283.286,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55242,
    "c": 0.21491,
    "h": 314.8
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#9F3AC6
secondary
#A0CD8F
accent
#DE4973
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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