#9F2BAB#9F2BAB

#9F2BAB is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.208 H 323.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9F2BAB
RGBrgb(159, 43, 171)
HSLhsl(294, 60%, 42%)
HSVhsv(294, 75%, 67%)
CMYKcmyk(7%, 74.9%, 0%, 32.9%)
CIE-LABlab(41.28, 62.46, -44.07)
CIE-LCHlch(41.28, 76.44, 324.79°)
OKLaboklab(52.12% 0.1682 -0.1229)
OKLCHoklch(52.12% 0.208 323.8)
XYZxyz(22.5120, 12.0404, 39.6585)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BAB #37AB2B
analogous
#5F2BAB #9F2BAB #AB2B77
triadic
#9F2BAB #AB9F2B #2BAB9F
tetradic
#9F2BAB #AB5F2B #37AB2B #2B77AB
square
#9F2BAB #AB5F2B #37AB2B #2B77AB
split-complementary
#9F2BAB #77AB2B #2BAB5F
monochromatic
#441249 #721F7A #9F2BAB #C343D0 #D274DC

Accessibility & contrast

On white

6.16
#9F2BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9F2BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BAB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BAB#FFFFFF#000000##FFFFFF
##9F2BAB1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4366A8
Tritanopia (blue-blind)
#A24369
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2bab;
/* rgb */ color: rgb(159, 43, 171);
/* oklch */ color: oklch(52.1% 0.208 323.8);
Tailwind
colors: {
  custom: {
    50: '#bf71c4',
    500: '#9f2bab',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bab;
$custom-light: #bf71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bab",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 294.375,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.20831,
    "h": 323.8
  },
  "luminance": 0.12039
}

Semantic roles & 50–950 ramp

primary
#9F2BAB
secondary
#76C46E
accent
#E34554
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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