#9B2FA6#9B2FA6

#9B2FA6 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.198 H 323.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9B2FA6
RGBrgb(155, 47, 166)
HSLhsl(294, 56%, 42%)
HSVhsv(294, 72%, 65%)
CMYKcmyk(6.6%, 71.7%, 0%, 34.9%)
CIE-LABlab(40.83, 59.32, -41.85)
CIE-LCHlch(40.83, 72.60, 324.79°)
OKLaboklab(51.57% 0.16 -0.1166)
OKLCHoklch(51.57% 0.198 323.9)
XYZxyz(21.4164, 11.7561, 37.2101)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FA6 #3AA62F
analogous
#602FA6 #9B2FA6 #A62F76
triadic
#9B2FA6 #A69B2F #2FA69B
tetradic
#9B2FA6 #A6602F #3AA62F #2F76A6
square
#9B2FA6 #A6602F #3AA62F #2F76A6
split-complementary
#9B2FA6 #76A62F #2FA660
monochromatic
#421447 #6E2176 #9B2FA6 #BF47CB #CF77D8

Accessibility & contrast

On white

6.27
#9B2FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9B2FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FA6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FA6#FFFFFF#000000##FFFFFF
##9B2FA61.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0658A9
Deuteranopia (green-blind)
#4465A3
Tritanopia (blue-blind)
#9E4468
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2fa6;
/* rgb */ color: rgb(155, 47, 166);
/* oklch */ color: oklch(51.6% 0.198 323.9);
Tailwind
colors: {
  custom: {
    50: '#bc72c1',
    500: '#9b2fa6',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fa6;
$custom-light: #bc72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fa6",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 294.454,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.19797,
    "h": 323.9
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#9B2FA6
secondary
#78C170
accent
#DF4957
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9B2FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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