#9F2AB5#9F2AB5

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

Color values

HEX#9F2AB5
RGBrgb(159, 42, 181)
HSLhsl(291, 62%, 44%)
HSVhsv(291, 77%, 71%)
CMYKcmyk(12.2%, 76.8%, 0%, 29%)
CIE-LABlab(41.79, 64.57, -49.18)
CIE-LCHlch(41.79, 81.17, 322.71°)
OKLaboklab(52.68% 0.1682 -0.1379)
OKLCHoklch(52.68% 0.218 320.7)
XYZxyz(23.4655, 12.3643, 44.8577)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2AB5 #40B52A
analogous
#592AB5 #9F2AB5 #B52A85
triadic
#9F2AB5 #B59F2A #2AB59F
tetradic
#9F2AB5 #B5592A #40B52A #2A85B5
square
#9F2AB5 #B5592A #40B52A #2A85B5
split-complementary
#9F2AB5 #85B52A #2AB559
monochromatic
#481352 #731E83 #9F2AB5 #BE48D4 #D079E0

Accessibility & contrast

On white

6.05
#9F2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9F2AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2AB5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2AB5#FFFFFF#000000##FFFFFF
##9F2AB51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3A67B2
Tritanopia (blue-blind)
#A0476F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2ab5;
/* rgb */ color: rgb(159, 42, 181);
/* oklch */ color: oklch(52.7% 0.217 320.7);
Tailwind
colors: {
  custom: {
    50: '#bf71cc',
    500: '#9f2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ab5;
$custom-light: #bf71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ab5",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 290.504,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52678,
    "c": 0.2175,
    "h": 320.7
  },
  "luminance": 0.12363
}

Semantic roles & 50–950 ramp

primary
#9F2AB5
secondary
#80C873
accent
#E5425C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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