#9F4ABB#9F4ABB

#9F4ABB is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.4% C 0.183 H 316.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9F4ABB
RGBrgb(159, 74, 187)
HSLhsl(285, 45%, 51%)
HSVhsv(285, 60%, 73%)
CMYKcmyk(15%, 60.4%, 0%, 26.7%)
CIE-LABlab(46.79, 52.75, -44.71)
CIE-LCHlch(46.79, 69.15, 319.72°)
OKLaboklab(56.38% 0.1337 -0.125)
OKLCHoklch(56.38% 0.183 316.9)
XYZxyz(25.7152, 15.8573, 48.7103)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4ABB #66BB4A
analogous
#664ABB #9F4ABB #BB4A9E
triadic
#9F4ABB #BB9F4A #4ABB9F
tetradic
#9F4ABB #BB664A #66BB4A #4A9EBB
square
#9F4ABB #BB664A #66BB4A #4A9EBB
split-complementary
#9F4ABB #9EBB4A #4ABB66
monochromatic
#552665 #7B3791 #9F4ABB #B776CC #CEA3DC

Accessibility & contrast

On white

5.03
#9F4ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9F4ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4ABB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4ABB#FFFFFF#000000##FFFFFF
##9F4ABB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6ABF
Deuteranopia (green-blind)
#4C72B8
Tritanopia (blue-blind)
#9E5D7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f4abb;
/* rgb */ color: rgb(159, 74, 187);
/* oklch */ color: oklch(56.4% 0.183 316.9);
Tailwind
colors: {
  custom: {
    50: '#be81d0',
    500: '#9f4abb',
    950: '#000000',
  },
}
SCSS
$custom: #9f4abb;
$custom-light: #be81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4abb",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 285.133,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.18307,
    "h": 316.9
  },
  "luminance": 0.15856
}

Semantic roles & 50–950 ramp

primary
#9F4ABB
secondary
#A4C997
accent
#D55373
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F4ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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