#9B2FA1#9B2FA1

#9B2FA1 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.194 H 325.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9B2FA1
RGBrgb(155, 47, 161)
HSLhsl(297, 55%, 41%)
HSVhsv(297, 71%, 63%)
CMYKcmyk(3.7%, 70.8%, 0%, 36.9%)
CIE-LABlab(40.53, 58.43, -39.32)
CIE-LCHlch(40.53, 70.43, 326.06°)
OKLaboklab(51.27% 0.1601 -0.1092)
OKLCHoklch(51.27% 0.194 325.7)
XYZxyz(20.9667, 11.5762, 34.8414)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FA1 #35A12F
analogous
#622FA1 #9B2FA1 #A12F6E
triadic
#9B2FA1 #A19B2F #2FA19B
tetradic
#9B2FA1 #A1622F #35A12F #2F6EA1
square
#9B2FA1 #A1622F #35A12F #2F6EA1
split-complementary
#9B2FA1 #6EA12F #2FA162
monochromatic
#401342 #6D2172 #9B2FA1 #C245C9 #D174D6

Accessibility & contrast

On white

6.33
#9B2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9B2FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FA1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FA1#FFFFFF#000000##FFFFFF
##9B2FA11.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1457A4
Deuteranopia (green-blind)
#47649E
Tritanopia (blue-blind)
#9F4165
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2fa1;
/* rgb */ color: rgb(155, 47, 161);
/* oklch */ color: oklch(51.3% 0.194 325.7);
Tailwind
colors: {
  custom: {
    50: '#bc72bd',
    500: '#9b2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fa1;
$custom-light: #bc72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fa1",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 296.842,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.1938,
    "h": 325.7
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#9B2FA1
secondary
#72BE6E
accent
#DE4A51
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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