#9F4AC0#9F4AC0

#9F4AC0 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.7% C 0.188 H 315.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9F4AC0
RGBrgb(159, 74, 192)
HSLhsl(283, 48%, 52%)
HSVhsv(283, 61%, 75%)
CMYKcmyk(17.2%, 61.5%, 0%, 24.7%)
CIE-LABlab(47.07, 53.79, -47.16)
CIE-LCHlch(47.07, 71.53, 318.76°)
OKLaboklab(56.68% 0.1338 -0.1322)
OKLCHoklch(56.68% 0.188 315.3)
XYZxyz(26.2598, 16.0751, 51.5785)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4AC0 #6BC04A
analogous
#644AC0 #9F4AC0 #C04AA6
triadic
#9F4AC0 #C09F4A #4AC09F
tetradic
#9F4AC0 #C0644A #6BC04A #4AA6C0
square
#9F4AC0 #C0644A #6BC04A #4AA6C0
split-complementary
#9F4AC0 #A6C04A #4AC064
monochromatic
#57256B #7C3598 #9F4AC0 #B777D0 #CFA5E0

Accessibility & contrast

On white

4.98
#9F4AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F4AC0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4AC0#FFFFFF#000000##FFFFFF
##9F4AC01.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236BC4
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#9D5F7E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f4ac0;
/* rgb */ color: rgb(159, 74, 192);
/* oklch */ color: oklch(56.7% 0.188 315.3);
Tailwind
colors: {
  custom: {
    50: '#be81d3',
    500: '#9f4ac0',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ac0;
$custom-light: #be81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ac0",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 283.22,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56682,
    "c": 0.18808,
    "h": 315.3
  },
  "luminance": 0.16074
}

Semantic roles & 50–950 ramp

primary
#9F4AC0
secondary
#A8CD99
accent
#D85076
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9F4AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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