#9B2FB6#9B2FB6

#9B2FB6 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.212 H 318.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9B2FB6
RGBrgb(155, 47, 182)
HSLhsl(288, 59%, 45%)
HSVhsv(288, 74%, 71%)
CMYKcmyk(14.8%, 74.2%, 0%, 28.6%)
CIE-LABlab(41.81, 62.27, -49.76)
CIE-LCHlch(41.81, 79.72, 321.37°)
OKLaboklab(52.59% 0.1589 -0.1398)
OKLCHoklch(52.59% 0.212 318.7)
XYZxyz(22.9764, 12.3801, 45.4262)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FB6 #4AB62F
analogous
#582FB6 #9B2FB6 #B62F8E
triadic
#9B2FB6 #B69B2F #2FB69B
tetradic
#9B2FB6 #B6582F #4AB62F #2F8EB6
square
#9B2FB6 #B6582F #4AB62F #2F8EB6
split-complementary
#9B2FB6 #8EB62F #2FB658
monochromatic
#481655 #722285 #9B2FB6 #B850D2 #CC81DE

Accessibility & contrast

On white

6.04
#9B2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9B2FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FB6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FB6#FFFFFF#000000##FFFFFF
##9B2FB61.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#3766B3
Tritanopia (blue-blind)
#9B4B70
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2fb6;
/* rgb */ color: rgb(155, 47, 182);
/* oklch */ color: oklch(52.6% 0.212 318.7);
Tailwind
colors: {
  custom: {
    50: '#bc73cd',
    500: '#9b2fb6',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fb6;
$custom-light: #bc73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fb6",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 288,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52592,
    "c": 0.21162,
    "h": 318.7
  },
  "luminance": 0.12379
}

Semantic roles & 50–950 ramp

primary
#9B2FB6
secondary
#89C779
accent
#E24665
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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