#9F2AB1#9F2AB1

#9F2AB1 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.214 H 321.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9F2AB1
RGBrgb(159, 42, 177)
HSLhsl(292, 62%, 43%)
HSVhsv(292, 76%, 69%)
CMYKcmyk(10.2%, 76.3%, 0%, 30.6%)
CIE-LABlab(41.54, 63.85, -47.22)
CIE-LCHlch(41.54, 79.42, 323.51°)
OKLaboklab(52.42% 0.1686 -0.1322)
OKLCHoklch(52.42% 0.214 321.9)
XYZxyz(23.0610, 12.2025, 42.7271)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2AB1 #3CB12A
analogous
#5B2AB1 #9F2AB1 #B12A7F
triadic
#9F2AB1 #B19F2A #2AB19F
tetradic
#9F2AB1 #B15B2A #3CB12A #2A7FB1
square
#9F2AB1 #B15B2A #3CB12A #2A7FB1
split-complementary
#9F2AB1 #7FB12A #2AB15B
monochromatic
#46134E #731E80 #9F2AB1 #C045D3 #D177DF

Accessibility & contrast

On white

6.10
#9F2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9F2AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2AB1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2AB1#FFFFFF#000000##FFFFFF
##9F2AB11.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#A1456C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2ab1;
/* rgb */ color: rgb(159, 42, 177);
/* oklch */ color: oklch(52.4% 0.214 321.9);
Tailwind
colors: {
  custom: {
    50: '#bf71c9',
    500: '#9f2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ab1;
$custom-light: #bf71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ab1",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 292,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.21422,
    "h": 321.9
  },
  "luminance": 0.12201
}

Semantic roles & 50–950 ramp

primary
#9F2AB1
secondary
#7CC670
accent
#E54359
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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