#9F4AAF#9F4AAF

#9F4AAF is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.7% C 0.171 H 321.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9F4AAF
RGBrgb(159, 74, 175)
HSLhsl(290, 41%, 49%)
HSVhsv(290, 58%, 69%)
CMYKcmyk(9.1%, 57.7%, 0%, 31.4%)
CIE-LABlab(46.13, 50.34, -38.73)
CIE-LCHlch(46.13, 63.51, 322.43°)
OKLaboklab(55.69% 0.1332 -0.1076)
OKLCHoklch(55.69% 0.171 321.1)
XYZxyz(24.4838, 15.3648, 42.2252)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4AAF #5AAF4A
analogous
#6D4AAF #9F4AAF #AF4A8D
triadic
#9F4AAF #AF9F4A #4AAF9F
tetradic
#9F4AAF #AF6D4A #5AAF4A #4A8DAF
square
#9F4AAF #AF6D4A #5AAF4A #4A8DAF
split-complementary
#9F4AAF #8DAF4A #4AAF6D
monochromatic
#512659 #783884 #9F4AAF #B773C4 #CD9ED6

Accessibility & contrast

On white

5.16
#9F4AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9F4AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4AAF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4AAF#FFFFFF#000000##FFFFFF
##9F4AAF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#5470AC
Tritanopia (blue-blind)
#A05975
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f4aaf;
/* rgb */ color: rgb(159, 74, 175);
/* oklch */ color: oklch(55.7% 0.171 321.1);
Tailwind
colors: {
  custom: {
    50: '#be81c7',
    500: '#9f4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #9f4aaf;
$custom-light: #be81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4aaf",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 290.495,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5569,
    "c": 0.17121,
    "h": 321.1
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#9F4AAF
secondary
#9AC292
accent
#D0576B
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9F4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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