#9F2BAC#9F2BAC

#9F2BAC is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.209 H 323.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9F2BAC
RGBrgb(159, 43, 172)
HSLhsl(294, 60%, 42%)
HSVhsv(294, 75%, 67%)
CMYKcmyk(7.6%, 75%, 0%, 32.5%)
CIE-LABlab(41.34, 62.64, -44.57)
CIE-LCHlch(41.34, 76.88, 324.57°)
OKLaboklab(52.18% 0.1681 -0.1244)
OKLCHoklch(52.18% 0.209 323.5)
XYZxyz(22.6077, 12.0786, 40.1623)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BAC #38AC2B
analogous
#5E2BAC #9F2BAC #AC2B79
triadic
#9F2BAC #AC9F2B #2BAC9F
tetradic
#9F2BAC #AC5E2B #38AC2B #2B79AC
square
#9F2BAC #AC5E2B #38AC2B #2B79AC
split-complementary
#9F2BAC #79AC2B #2BAC5E
monochromatic
#44134A #721F7B #9F2BAC #C244D0 #D275DC

Accessibility & contrast

On white

6.15
#9F2BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9F2BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BAC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BAC#FFFFFF#000000##FFFFFF
##9F2BAC1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#A2436A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2bac;
/* rgb */ color: rgb(159, 43, 172);
/* oklch */ color: oklch(52.2% 0.209 323.5);
Tailwind
colors: {
  custom: {
    50: '#bf71c5',
    500: '#9f2bac',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bac;
$custom-light: #bf71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bac",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 293.953,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5218,
    "c": 0.20912,
    "h": 323.5
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#9F2BAC
secondary
#77C46F
accent
#E34555
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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