#9F2BB1#9F2BB1

#9F2BB1 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.213 H 321.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9F2BB1
RGBrgb(159, 43, 177)
HSLhsl(292, 61%, 43%)
HSVhsv(292, 76%, 69%)
CMYKcmyk(10.2%, 75.7%, 0%, 30.6%)
CIE-LABlab(41.65, 63.53, -47.04)
CIE-LCHlch(41.65, 79.05, 323.48°)
OKLaboklab(52.5% 0.1677 -0.1316)
OKLCHoklch(52.5% 0.213 321.9)
XYZxyz(23.0969, 12.2743, 42.7391)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BB1 #3DB12B
analogous
#5C2BB1 #9F2BB1 #B12B80
triadic
#9F2BB1 #B19F2B #2BB19F
tetradic
#9F2BB1 #B15C2B #3DB12B #2B80B1
square
#9F2BB1 #B15C2B #3DB12B #2B80B1
split-complementary
#9F2BB1 #80B12B #2BB15C
monochromatic
#47134F #731F80 #9F2BB1 #C047D2 #D178DE

Accessibility & contrast

On white

6.08
#9F2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9F2BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BB1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BB1#FFFFFF#000000##FFFFFF
##9F2BB11.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2bb1;
/* rgb */ color: rgb(159, 43, 177);
/* oklch */ color: oklch(52.5% 0.213 321.9);
Tailwind
colors: {
  custom: {
    50: '#bf71c9',
    500: '#9f2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bb1;
$custom-light: #bf71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bb1",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 291.94,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.21321,
    "h": 321.9
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

primary
#9F2BB1
secondary
#7DC672
accent
#E44459
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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