#9B2FA3#9B2FA3

#9B2FA3 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.195 H 325.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9B2FA3
RGBrgb(155, 47, 163)
HSLhsl(296, 55%, 41%)
HSVhsv(296, 71%, 64%)
CMYKcmyk(4.9%, 71.2%, 0%, 36.1%)
CIE-LABlab(40.65, 58.78, -40.34)
CIE-LCHlch(40.65, 71.29, 325.54°)
OKLaboklab(51.39% 0.1601 -0.1122)
OKLCHoklch(51.39% 0.195 325)
XYZxyz(21.1444, 11.6473, 35.7777)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FA3 #37A32F
analogous
#612FA3 #9B2FA3 #A32F71
triadic
#9B2FA3 #A39B2F #2FA39B
tetradic
#9B2FA3 #A3612F #37A32F #2F71A3
square
#9B2FA3 #A3612F #37A32F #2F71A3
split-complementary
#9B2FA3 #71A32F #2FA361
monochromatic
#411444 #6E2173 #9B2FA3 #C046CA #D075D7

Accessibility & contrast

On white

6.31
#9B2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9B2FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FA3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FA3#FFFFFF#000000##FFFFFF
##9B2FA31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A6
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#9E4266
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2fa3;
/* rgb */ color: rgb(155, 47, 163);
/* oklch */ color: oklch(51.4% 0.195 325.0);
Tailwind
colors: {
  custom: {
    50: '#bc72bf',
    500: '#9b2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fa3;
$custom-light: #bc72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fa3",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 295.862,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.19547,
    "h": 325
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#9B2FA3
secondary
#74BF6F
accent
#DF4954
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9B2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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