#9B2FB1#9B2FB1

#9B2FB1 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.207 H 320.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9B2FB1
RGBrgb(155, 47, 177)
HSLhsl(290, 58%, 44%)
HSVhsv(290, 73%, 69%)
CMYKcmyk(12.4%, 73.4%, 0%, 30.6%)
CIE-LABlab(41.50, 61.33, -47.32)
CIE-LCHlch(41.50, 77.47, 322.35°)
OKLaboklab(52.26% 0.1594 -0.1326)
OKLCHoklch(52.26% 0.207 320.2)
XYZxyz(22.4689, 12.1771, 42.7533)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FB1 #45B12F
analogous
#5A2FB1 #9B2FB1 #B12F86
triadic
#9B2FB1 #B19B2F #2FB19B
tetradic
#9B2FB1 #B15A2F #45B12F #2F86B1
square
#9B2FB1 #B15A2F #45B12F #2F86B1
split-complementary
#9B2FB1 #86B12F #2FB15A
monochromatic
#461550 #712281 #9B2FB1 #BA4DD0 #CD7EDD

Accessibility & contrast

On white

6.11
#9B2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9B2FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FB1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FB1#FFFFFF#000000##FFFFFF
##9B2FB11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#3C66AE
Tritanopia (blue-blind)
#9C486E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2fb1;
/* rgb */ color: rgb(155, 47, 177);
/* oklch */ color: oklch(52.3% 0.207 320.2);
Tailwind
colors: {
  custom: {
    50: '#bc72c9',
    500: '#9b2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fb1;
$custom-light: #bc72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fb1",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 289.846,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52264,
    "c": 0.20731,
    "h": 320.2
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#9B2FB1
secondary
#84C576
accent
#E14761
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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