#9B2FA4#9B2FA4

#9B2FA4 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.196 H 324.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9B2FA4
RGBrgb(155, 47, 164)
HSLhsl(295, 55%, 41%)
HSVhsv(295, 71%, 64%)
CMYKcmyk(5.5%, 71.3%, 0%, 35.7%)
CIE-LABlab(40.71, 58.96, -40.84)
CIE-LCHlch(40.71, 71.73, 325.29°)
OKLaboklab(51.45% 0.16 -0.1137)
OKLCHoklch(51.45% 0.196 324.6)
XYZxyz(21.2344, 11.6833, 36.2514)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FA4 #38A42F
analogous
#612FA4 #9B2FA4 #A42F73
triadic
#9B2FA4 #A49B2F #2FA49B
tetradic
#9B2FA4 #A4612F #38A42F #2F73A4
square
#9B2FA4 #A4612F #38A42F #2F73A4
split-complementary
#9B2FA4 #73A42F #2FA461
monochromatic
#411445 #6E2174 #9B2FA4 #C046CA #D076D8

Accessibility & contrast

On white

6.29
#9B2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9B2FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FA4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FA4#FFFFFF#000000##FFFFFF
##9B2FA41.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C58A7
Deuteranopia (green-blind)
#4564A1
Tritanopia (blue-blind)
#9E4366
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2fa4;
/* rgb */ color: rgb(155, 47, 164);
/* oklch */ color: oklch(51.4% 0.196 324.6);
Tailwind
colors: {
  custom: {
    50: '#bc72bf',
    500: '#9b2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fa4;
$custom-light: #bc72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fa4",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 295.385,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.1963,
    "h": 324.6
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

primary
#9B2FA4
secondary
#75C06F
accent
#DF4955
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9B2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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