#9B2FA0#9B2FA0

#9B2FA0 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.193 H 326.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9B2FA0
RGBrgb(155, 47, 160)
HSLhsl(297, 55%, 41%)
HSVhsv(297, 71%, 63%)
CMYKcmyk(3.1%, 70.6%, 0%, 37.3%)
CIE-LABlab(40.48, 58.25, -38.81)
CIE-LCHlch(40.48, 70.00, 326.32°)
OKLaboklab(51.21% 0.1601 -0.1078)
OKLCHoklch(51.21% 0.193 326)
XYZxyz(20.8788, 11.5410, 34.3788)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FA0 #34A02F
analogous
#622FA0 #9B2FA0 #A02F6C
triadic
#9B2FA0 #A09B2F #2FA09B
tetradic
#9B2FA0 #A0622F #34A02F #2F6CA0
square
#9B2FA0 #A0622F #34A02F #2F6CA0
split-complementary
#9B2FA0 #6CA02F #2FA062
monochromatic
#3F1341 #6D2171 #9B2FA0 #C244C8 #D273D6

Accessibility & contrast

On white

6.35
#9B2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9B2FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FA0
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FA0#FFFFFF#000000##FFFFFF
##9B2FA01.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1657A3
Deuteranopia (green-blind)
#48649D
Tritanopia (blue-blind)
#9F4164
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2fa0;
/* rgb */ color: rgb(155, 47, 160);
/* oklch */ color: oklch(51.2% 0.193 326.0);
Tailwind
colors: {
  custom: {
    50: '#bc72bc',
    500: '#9b2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fa0;
$custom-light: #bc72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fa0",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 297.345,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51209,
    "c": 0.19297,
    "h": 326
  },
  "luminance": 0.1154
}

Semantic roles & 50–950 ramp

primary
#9B2FA0
secondary
#71BE6D
accent
#DE4A50
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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