#9F4AC2#9F4AC2

#9F4AC2 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.8% C 0.190 H 314.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9F4AC2
RGBrgb(159, 74, 194)
HSLhsl(283, 50%, 53%)
HSVhsv(283, 62%, 76%)
CMYKcmyk(18%, 61.9%, 0%, 23.9%)
CIE-LABlab(47.19, 54.20, -48.13)
CIE-LCHlch(47.19, 72.49, 318.39°)
OKLaboklab(56.8% 0.1338 -0.135)
OKLCHoklch(56.8% 0.19 314.7)
XYZxyz(26.4829, 16.1644, 52.7535)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4AC2 #6DC24A
analogous
#634AC2 #9F4AC2 #C24AA9
triadic
#9F4AC2 #C29F4A #4AC29F
tetradic
#9F4AC2 #C2634A #6DC24A #4AA9C2
square
#9F4AC2 #C2634A #6DC24A #4AA9C2
split-complementary
#9F4AC2 #A9C24A #4AC263
monochromatic
#58256D #7D349B #9F4AC2 #B778D1 #D0A6E1

Accessibility & contrast

On white

4.96
#9F4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9F4AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4AC2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4AC2#FFFFFF#000000##FFFFFF
##9F4AC21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206BC6
Deuteranopia (green-blind)
#4772BF
Tritanopia (blue-blind)
#9C607F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f4ac2;
/* rgb */ color: rgb(159, 74, 194);
/* oklch */ color: oklch(56.8% 0.190 314.7);
Tailwind
colors: {
  custom: {
    50: '#be81d5',
    500: '#9f4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ac2;
$custom-light: #be81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ac2",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 282.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56804,
    "c": 0.19009,
    "h": 314.7
  },
  "luminance": 0.16164
}

Semantic roles & 50–950 ramp

primary
#9F4AC2
secondary
#A9CE9A
accent
#D94F77
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9F4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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