#9F4ABC#9F4ABC

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

Color values

HEX#9F4ABC
RGBrgb(159, 74, 188)
HSLhsl(285, 46%, 51%)
HSVhsv(285, 61%, 74%)
CMYKcmyk(15.4%, 60.6%, 0%, 26.3%)
CIE-LABlab(46.84, 52.96, -45.20)
CIE-LCHlch(46.84, 69.63, 319.52°)
OKLaboklab(56.44% 0.1338 -0.1265)
OKLCHoklch(56.44% 0.184 316.6)
XYZxyz(25.8226, 15.9003, 49.2760)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4ABC #67BC4A
analogous
#664ABC #9F4ABC #BC4AA0
triadic
#9F4ABC #BC9F4A #4ABC9F
tetradic
#9F4ABC #BC664A #67BC4A #4AA0BC
square
#9F4ABC #BC664A #67BC4A #4AA0BC
split-complementary
#9F4ABC #A0BC4A #4ABC66
monochromatic
#562666 #7B3693 #9F4ABC #B777CD #CEA3DD

Accessibility & contrast

On white

5.02
#9F4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9F4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4ABC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4ABC#FFFFFF#000000##FFFFFF
##9F4ABC1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC0
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#9E5E7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f4abc;
/* rgb */ color: rgb(159, 74, 188);
/* oklch */ color: oklch(56.4% 0.184 316.6);
Tailwind
colors: {
  custom: {
    50: '#be81d1',
    500: '#9f4abc',
    950: '#000000',
  },
}
SCSS
$custom: #9f4abc;
$custom-light: #be81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4abc",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 284.737,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.18407,
    "h": 316.6
  },
  "luminance": 0.15899
}

Semantic roles & 50–950 ramp

primary
#9F4ABC
secondary
#A5CA98
accent
#D65274
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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