#9F3AC0#9F3AC0

#9F3AC0 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.209 H 316.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9F3AC0
RGBrgb(159, 58, 192)
HSLhsl(285, 54%, 49%)
HSVhsv(285, 70%, 75%)
CMYKcmyk(17.2%, 69.8%, 0%, 24.7%)
CIE-LABlab(44.52, 60.86, -51.24)
CIE-LCHlch(44.52, 79.56, 319.90°)
OKLaboklab(54.85% 0.152 -0.144)
OKLCHoklch(54.85% 0.209 316.5)
XYZxyz(25.3241, 14.2038, 51.2666)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3AC0 #5BC03A
analogous
#5C3AC0 #9F3AC0 #C03A9E
triadic
#9F3AC0 #C09F3A #3AC09F
tetradic
#9F3AC0 #C05C3A #5BC03A #3A9EC0
square
#9F3AC0 #C05C3A #5BC03A #3A9EC0
split-complementary
#9F3AC0 #9EC03A #3AC05C
monochromatic
#511E62 #782C91 #9F3AC0 #B766D1 #CD95DF

Accessibility & contrast

On white

5.47
#9F3AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9F3AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3AC0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3AC0#FFFFFF#000000##FFFFFF
##9F3AC01.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#3B6CBD
Tritanopia (blue-blind)
#9D5579
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3ac0;
/* rgb */ color: rgb(159, 58, 192);
/* oklch */ color: oklch(54.8% 0.209 316.5);
Tailwind
colors: {
  custom: {
    50: '#bf79d4',
    500: '#9f3ac0',
    950: '#000000',
  },
}
SCSS
$custom: #9f3ac0;
$custom-light: #bf79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3ac0",
  "rgb": {
    "r": 159,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 285.224,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54846,
    "c": 0.20941,
    "h": 316.5
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#9F3AC0
secondary
#9BCA8B
accent
#DD4B6F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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