#9F2AC4#9F2AC4

#9F2AC4 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.230 H 316.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9F2AC4
RGBrgb(159, 42, 196)
HSLhsl(286, 65%, 47%)
HSVhsv(286, 79%, 77%)
CMYKcmyk(18.9%, 78.6%, 0%, 23.1%)
CIE-LABlab(42.78, 67.36, -56.37)
CIE-LCHlch(42.78, 87.84, 320.07°)
OKLaboklab(53.7% 0.1662 -0.159)
OKLCHoklch(53.7% 0.23 316.3)
XYZxyz(25.0883, 13.0134, 53.4042)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2AC4 #4FC42A
analogous
#522AC4 #9F2AC4 #C42A9C
triadic
#9F2AC4 #C49F2A #2AC49F
tetradic
#9F2AC4 #C4522A #4FC42A #2A9CC4
square
#9F2AC4 #C4522A #4FC42A #2A9CC4
split-complementary
#9F2AC4 #9CC42A #2AC452
monochromatic
#4D145F #761F92 #9F2AC4 #B951DA #CD84E5

Accessibility & contrast

On white

5.83
#9F2AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9F2AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2AC4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2AC4#FFFFFF#000000##FFFFFF
##9F2AC41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#2868C1
Tritanopia (blue-blind)
#9D4E77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2ac4;
/* rgb */ color: rgb(159, 42, 196);
/* oklch */ color: oklch(53.7% 0.230 316.3);
Tailwind
colors: {
  custom: {
    50: '#c072d7',
    500: '#9f2ac4',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ac4;
$custom-light: #c072d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ac4",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 196
  },
  "hsl": {
    "h": 285.584,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53696,
    "c": 0.22996,
    "h": 316.3
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#9F2AC4
secondary
#90CE7C
accent
#E84068
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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