#9F4AAA#9F4AAA

#9F4AAA is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.4% C 0.166 H 322.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9F4AAA
RGBrgb(159, 74, 170)
HSLhsl(293, 39%, 48%)
HSVhsv(293, 56%, 67%)
CMYKcmyk(6.5%, 56.5%, 0%, 33.3%)
CIE-LABlab(45.87, 49.36, -36.19)
CIE-LCHlch(45.87, 61.21, 323.75°)
OKLaboklab(55.42% 0.1328 -0.1003)
OKLCHoklch(55.42% 0.166 322.9)
XYZxyz(24.0018, 15.1720, 39.6866)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4AAA #55AA4A
analogous
#6F4AAA #9F4AAA #AA4A85
triadic
#9F4AAA #AA9F4A #4AAA9F
tetradic
#9F4AAA #AA6F4A #55AA4A #4A85AA
square
#9F4AAA #AA6F4A #55AA4A #4A85AA
split-complementary
#9F4AAA #85AA4A #4AAA6F
monochromatic
#4F2555 #77377F #9F4AAA #B870C1 #CD9BD3

Accessibility & contrast

On white

5.21
#9F4AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9F4AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4AAA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4AAA#FFFFFF#000000##FFFFFF
##9F4AAA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#A15773
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f4aaa;
/* rgb */ color: rgb(159, 74, 170);
/* oklch */ color: oklch(55.4% 0.166 322.9);
Tailwind
colors: {
  custom: {
    50: '#be81c3',
    500: '#9f4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #9f4aaa;
$custom-light: #be81c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4aaa",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 293.125,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55415,
    "c": 0.16636,
    "h": 322.9
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#9F4AAA
secondary
#95C090
accent
#CF5966
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #9F4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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