#9F4AB2#9F4AB2

#9F4AB2 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.9% C 0.174 H 320.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9F4AB2
RGBrgb(159, 74, 178)
HSLhsl(289, 41%, 49%)
HSVhsv(289, 58%, 70%)
CMYKcmyk(10.7%, 58.4%, 0%, 30.2%)
CIE-LABlab(46.29, 50.93, -40.24)
CIE-LCHlch(46.29, 64.91, 321.69°)
OKLaboklab(55.86% 0.1334 -0.112)
OKLCHoklch(55.86% 0.174 320)
XYZxyz(24.7817, 15.4839, 43.7942)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4AB2 #5DB24A
analogous
#6B4AB2 #9F4AB2 #B24A91
triadic
#9F4AB2 #B29F4A #4AB29F
tetradic
#9F4AB2 #B26B4A #5DB24A #4A91B2
square
#9F4AB2 #B26B4A #5DB24A #4A91B2
split-complementary
#9F4AB2 #91B24A #4AB26B
monochromatic
#52265C #783887 #9F4AB2 #B674C5 #CD9FD7

Accessibility & contrast

On white

5.13
#9F4AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9F4AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4AB2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4AB2#FFFFFF#000000##FFFFFF
##9F4AB21.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3368B5
Deuteranopia (green-blind)
#5271AF
Tritanopia (blue-blind)
#A05A77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f4ab2;
/* rgb */ color: rgb(159, 74, 178);
/* oklch */ color: oklch(55.9% 0.174 320.0);
Tailwind
colors: {
  custom: {
    50: '#be81c9',
    500: '#9f4ab2',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ab2;
$custom-light: #be81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ab2",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 289.038,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55859,
    "c": 0.17414,
    "h": 320
  },
  "luminance": 0.15483
}

Semantic roles & 50–950 ramp

primary
#9F4AB2
secondary
#9DC494
accent
#D1576D
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9F4AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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