#9B2FAC#9B2FAC

#9B2FAC is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 51.9% C 0.203 H 321.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9B2FAC
RGBrgb(155, 47, 172)
HSLhsl(292, 57%, 43%)
HSVhsv(292, 73%, 67%)
CMYKcmyk(9.9%, 72.7%, 0%, 32.5%)
CIE-LABlab(41.19, 60.41, -44.85)
CIE-LCHlch(41.19, 75.24, 323.41°)
OKLaboklab(51.94% 0.1597 -0.1254)
OKLCHoklch(51.94% 0.203 321.9)
XYZxyz(21.9797, 11.9814, 40.1766)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FAC #40AC2F
analogous
#5C2FAC #9B2FAC #AC2F7E
triadic
#9B2FAC #AC9B2F #2FAC9B
tetradic
#9B2FAC #AC5C2F #40AC2F #2F7EAC
square
#9B2FAC #AC5C2F #40AC2F #2F7EAC
split-complementary
#9B2FAC #7EAC2F #2FAC5C
monochromatic
#44154C #70227C #9B2FAC #BC4BCE #CE7BDB

Accessibility & contrast

On white

6.18
#9B2FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9B2FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FAC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FAC#FFFFFF#000000##FFFFFF
##9B2FAC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#4065A9
Tritanopia (blue-blind)
#9D466B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2fac;
/* rgb */ color: rgb(155, 47, 172);
/* oklch */ color: oklch(51.9% 0.203 321.9);
Tailwind
colors: {
  custom: {
    50: '#bc72c5',
    500: '#9b2fac',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fac;
$custom-light: #bc72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fac",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 291.84,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51944,
    "c": 0.20305,
    "h": 321.9
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#9B2FAC
secondary
#7EC374
accent
#E0475C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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