#9B2FA5#9B2FA5

#9B2FA5 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.197 H 324.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9B2FA5
RGBrgb(155, 47, 165)
HSLhsl(295, 56%, 42%)
HSVhsv(295, 72%, 65%)
CMYKcmyk(6.1%, 71.5%, 0%, 35.3%)
CIE-LABlab(40.77, 59.14, -41.35)
CIE-LCHlch(40.77, 72.16, 325.04°)
OKLaboklab(51.51% 0.16 -0.1151)
OKLCHoklch(51.51% 0.197 324.3)
XYZxyz(21.3250, 11.7195, 36.7289)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FA5 #39A52F
analogous
#602FA5 #9B2FA5 #A52F74
triadic
#9B2FA5 #A59B2F #2FA59B
tetradic
#9B2FA5 #A5602F #39A52F #2F74A5
square
#9B2FA5 #A5602F #39A52F #2F74A5
split-complementary
#9B2FA5 #74A52F #2FA560
monochromatic
#421446 #6E2175 #9B2FA5 #BF47CB #D076D8

Accessibility & contrast

On white

6.28
#9B2FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2FA5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FA5#FFFFFF#000000##FFFFFF
##9B2FA51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0958A8
Deuteranopia (green-blind)
#4564A2
Tritanopia (blue-blind)
#9E4367
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2fa5;
/* rgb */ color: rgb(155, 47, 165);
/* oklch */ color: oklch(51.5% 0.197 324.3);
Tailwind
colors: {
  custom: {
    50: '#bc72c0',
    500: '#9b2fa5',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fa5;
$custom-light: #bc72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fa5",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 294.915,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.19713,
    "h": 324.3
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#9B2FA5
secondary
#77C070
accent
#DF4956
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9B2FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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