#9F4ABE#9F4ABE

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

Color values

HEX#9F4ABE
RGBrgb(159, 74, 190)
HSLhsl(284, 47%, 52%)
HSVhsv(284, 61%, 75%)
CMYKcmyk(16.3%, 61.1%, 0%, 25.5%)
CIE-LABlab(46.96, 53.37, -46.18)
CIE-LCHlch(46.96, 70.58, 319.13°)
OKLaboklab(56.56% 0.1338 -0.1293)
OKLCHoklch(56.56% 0.186 316)
XYZxyz(26.0397, 15.9871, 50.4194)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4ABE #69BE4A
analogous
#654ABE #9F4ABE #BE4AA3
triadic
#9F4ABE #BE9F4A #4ABE9F
tetradic
#9F4ABE #BE654A #69BE4A #4AA3BE
square
#9F4ABE #BE654A #69BE4A #4AA3BE
split-complementary
#9F4ABE #A3BE4A #4ABE65
monochromatic
#562568 #7C3695 #9F4ABE #B777CE #CFA4DE

Accessibility & contrast

On white

5.00
#9F4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9F4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4ABE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4ABE#FFFFFF#000000##FFFFFF
##9F4ABE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC2
Deuteranopia (green-blind)
#4A72BB
Tritanopia (blue-blind)
#9D5E7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f4abe;
/* rgb */ color: rgb(159, 74, 190);
/* oklch */ color: oklch(56.6% 0.186 316.0);
Tailwind
colors: {
  custom: {
    50: '#be81d2',
    500: '#9f4abe',
    950: '#000000',
  },
}
SCSS
$custom: #9f4abe;
$custom-light: #be81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4abe",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 283.966,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56561,
    "c": 0.18607,
    "h": 316
  },
  "luminance": 0.15986
}

Semantic roles & 50–950 ramp

primary
#9F4ABE
secondary
#A6CB98
accent
#D75175
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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