#9F3AC2#9F3AC2

#9F3AC2 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.211 H 316.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9F3AC2
RGBrgb(159, 58, 194)
HSLhsl(285, 54%, 49%)
HSVhsv(285, 70%, 76%)
CMYKcmyk(18%, 70.1%, 0%, 23.9%)
CIE-LABlab(44.65, 61.26, -52.20)
CIE-LCHlch(44.65, 80.48, 319.56°)
OKLaboklab(54.98% 0.1519 -0.1468)
OKLCHoklch(54.98% 0.211 316)
XYZxyz(25.5472, 14.2931, 52.4416)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3AC2 #5DC23A
analogous
#5B3AC2 #9F3AC2 #C23AA1
triadic
#9F3AC2 #C29F3A #3AC29F
tetradic
#9F3AC2 #C25B3A #5DC23A #3AA1C2
square
#9F3AC2 #C25B3A #5DC23A #3AA1C2
split-complementary
#9F3AC2 #A1C23A #3AC25B
monochromatic
#521E64 #782C93 #9F3AC2 #B667D2 #CD97E0

Accessibility & contrast

On white

5.44
#9F3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9F3AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3AC2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3AC2#FFFFFF#000000##FFFFFF
##9F3AC21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#396CBF
Tritanopia (blue-blind)
#9D557A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f3ac2;
/* rgb */ color: rgb(159, 58, 194);
/* oklch */ color: oklch(55.0% 0.211 316.0);
Tailwind
colors: {
  custom: {
    50: '#bf79d5',
    500: '#9f3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3ac2;
$custom-light: #bf79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3ac2",
  "rgb": {
    "r": 159,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 284.559,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54977,
    "c": 0.21124,
    "h": 316
  },
  "luminance": 0.14292
}

Semantic roles & 50–950 ramp

primary
#9F3AC2
secondary
#9DCB8D
accent
#DD4A70
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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