#9F4FA5#9F4FA5

#9F4FA5 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 55.8% C 0.153 H 324.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9F4FA5
RGBrgb(159, 79, 165)
HSLhsl(296, 35%, 48%)
HSVhsv(296, 52%, 65%)
CMYKcmyk(3.6%, 52.1%, 0%, 35.3%)
CIE-LABlab(46.55, 45.90, -32.17)
CIE-LCHlch(46.55, 56.05, 324.98°)
OKLaboklab(55.84% 0.1253 -0.0887)
OKLCHoklch(55.84% 0.153 324.7)
XYZxyz(23.8850, 15.6807, 37.3586)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FA5 #55A54F
analogous
#744FA5 #9F4FA5 #A54F80
triadic
#9F4FA5 #A59F4F #4FA59F
tetradic
#9F4FA5 #A5744F #55A54F #4F80A5
square
#9F4FA5 #A5744F #55A54F #4F80A5
split-complementary
#9F4FA5 #80A54F #4FA574
monochromatic
#4F2752 #773B7C #9F4FA5 #B875BD #CD9ED1

Accessibility & contrast

On white

5.08
#9F4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9F4FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4FA5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FA5#FFFFFF#000000##FFFFFF
##9F4FA51.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A8
Deuteranopia (green-blind)
#5D72A3
Tritanopia (blue-blind)
#A25A73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f4fa5;
/* rgb */ color: rgb(159, 79, 165);
/* oklch */ color: oklch(55.8% 0.153 324.7);
Tailwind
colors: {
  custom: {
    50: '#bd84c0',
    500: '#9f4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fa5;
$custom-light: #bd84c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fa5",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 295.814,
    "s": 35.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.15348,
    "h": 324.7
  },
  "luminance": 0.1568
}

Semantic roles & 50–950 ramp

primary
#9F4FA5
secondary
#95BD92
accent
#CB5D64
background
#FBF8FB
surface
#F7EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #9F4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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