#9F4ABA#9F4ABA

#9F4ABA is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.3% C 0.182 H 317.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9F4ABA
RGBrgb(159, 74, 186)
HSLhsl(286, 45%, 51%)
HSVhsv(286, 60%, 73%)
CMYKcmyk(14.5%, 60.2%, 0%, 27.1%)
CIE-LABlab(46.73, 52.55, -44.22)
CIE-LCHlch(46.73, 68.68, 319.92°)
OKLaboklab(56.32% 0.1337 -0.1236)
OKLCHoklch(56.32% 0.182 317.3)
XYZxyz(25.6085, 15.8146, 48.1484)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4ABA #65BA4A
analogous
#674ABA #9F4ABA #BA4A9D
triadic
#9F4ABA #BA9F4A #4ABA9F
tetradic
#9F4ABA #BA674A #65BA4A #4A9DBA
square
#9F4ABA #BA674A #65BA4A #4A9DBA
split-complementary
#9F4ABA #9DBA4A #4ABA67
monochromatic
#552664 #7A3790 #9F4ABA #B776CB #CEA3DC

Accessibility & contrast

On white

5.04
#9F4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9F4ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4ABA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4ABA#FFFFFF#000000##FFFFFF
##9F4ABA1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BE
Deuteranopia (green-blind)
#4D71B7
Tritanopia (blue-blind)
#9E5D7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f4aba;
/* rgb */ color: rgb(159, 74, 186);
/* oklch */ color: oklch(56.3% 0.182 317.3);
Tailwind
colors: {
  custom: {
    50: '#be81cf',
    500: '#9f4aba',
    950: '#000000',
  },
}
SCSS
$custom: #9f4aba;
$custom-light: #be81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4aba",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 285.536,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56323,
    "c": 0.18207,
    "h": 317.3
  },
  "luminance": 0.15814
}

Semantic roles & 50–950 ramp

primary
#9F4ABA
secondary
#A3C997
accent
#D55372
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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