#9F4ABF#9F4ABF

#9F4ABF is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.6% C 0.187 H 315.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9F4ABF
RGBrgb(159, 74, 191)
HSLhsl(284, 48%, 52%)
HSVhsv(284, 61%, 75%)
CMYKcmyk(16.8%, 61.3%, 0%, 25.1%)
CIE-LABlab(47.02, 53.58, -46.67)
CIE-LCHlch(47.02, 71.06, 318.94°)
OKLaboklab(56.62% 0.1338 -0.1308)
OKLCHoklch(56.62% 0.187 315.7)
XYZxyz(26.1494, 16.0310, 50.9969)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4ABF #6ABF4A
analogous
#654ABF #9F4ABF #BF4AA4
triadic
#9F4ABF #BF9F4A #4ABF9F
tetradic
#9F4ABF #BF654A #6ABF4A #4AA4BF
square
#9F4ABF #BF654A #6ABF4A #4AA4BF
split-complementary
#9F4ABF #A4BF4A #4ABF65
monochromatic
#572569 #7C3597 #9F4ABF #B777CF #CFA4DF

Accessibility & contrast

On white

4.99
#9F4ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9F4ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4ABF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4ABF#FFFFFF#000000##FFFFFF
##9F4ABF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC3
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#9D5F7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f4abf;
/* rgb */ color: rgb(159, 74, 191);
/* oklch */ color: oklch(56.6% 0.187 315.7);
Tailwind
colors: {
  custom: {
    50: '#be81d3',
    500: '#9f4abf',
    950: '#000000',
  },
}
SCSS
$custom: #9f4abf;
$custom-light: #be81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4abf",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 283.59,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56622,
    "c": 0.18708,
    "h": 315.7
  },
  "luminance": 0.1603
}

Semantic roles & 50–950 ramp

primary
#9F4ABF
secondary
#A7CC99
accent
#D75075
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9F4ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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