#9F2AB6#9F2AB6

#9F2AB6 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.218 H 320.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9F2AB6
RGBrgb(159, 42, 182)
HSLhsl(290, 63%, 44%)
HSVhsv(290, 77%, 71%)
CMYKcmyk(12.6%, 76.9%, 0%, 28.6%)
CIE-LABlab(41.85, 64.76, -49.67)
CIE-LCHlch(41.85, 81.61, 322.51°)
OKLaboklab(52.74% 0.1681 -0.1393)
OKLCHoklch(52.74% 0.218 320.4)
XYZxyz(23.5685, 12.4055, 45.4000)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2AB6 #41B62A
analogous
#592AB6 #9F2AB6 #B62A87
triadic
#9F2AB6 #B69F2A #2AB69F
tetradic
#9F2AB6 #B6592A #41B62A #2A87B6
square
#9F2AB6 #B6592A #41B62A #2A87B6
split-complementary
#9F2AB6 #87B62A #2AB659
monochromatic
#481353 #741F84 #9F2AB6 #BE48D5 #D07AE0

Accessibility & contrast

On white

6.03
#9F2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9F2AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2AB6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2AB6#FFFFFF#000000##FFFFFF
##9F2AB61.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3967B3
Tritanopia (blue-blind)
#A0476F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2ab6;
/* rgb */ color: rgb(159, 42, 182);
/* oklch */ color: oklch(52.7% 0.218 320.4);
Tailwind
colors: {
  custom: {
    50: '#bf71cd',
    500: '#9f2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ab6;
$custom-light: #bf71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ab6",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 290.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52744,
    "c": 0.21832,
    "h": 320.4
  },
  "luminance": 0.12404
}

Semantic roles & 50–950 ramp

primary
#9F2AB6
secondary
#81C873
accent
#E6425D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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