#9B2EB6#9B2EB6

#9B2EB6 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.213 H 318.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9B2EB6
RGBrgb(155, 46, 182)
HSLhsl(288, 60%, 45%)
HSVhsv(288, 75%, 71%)
CMYKcmyk(14.8%, 74.7%, 0%, 28.6%)
CIE-LABlab(41.69, 62.63, -49.96)
CIE-LCHlch(41.69, 80.11, 321.42°)
OKLaboklab(52.5% 0.1598 -0.1403)
OKLCHoklch(52.5% 0.213 318.7)
XYZxyz(22.9369, 12.3010, 45.4131)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EB6 #49B62E
analogous
#572EB6 #9B2EB6 #B62E8D
triadic
#9B2EB6 #B69B2E #2EB69B
tetradic
#9B2EB6 #B6572E #49B62E #2E8DB6
square
#9B2EB6 #B6572E #49B62E #2E8DB6
split-complementary
#9B2EB6 #8DB62E #2EB657
monochromatic
#481554 #712285 #9B2EB6 #B84FD2 #CC80DF

Accessibility & contrast

On white

6.07
#9B2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9B2EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EB6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EB6#FFFFFF#000000##FFFFFF
##9B2EB61.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3666B3
Tritanopia (blue-blind)
#9B4A70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2eb6;
/* rgb */ color: rgb(155, 46, 182);
/* oklch */ color: oklch(52.5% 0.213 318.7);
Tailwind
colors: {
  custom: {
    50: '#bd72cd',
    500: '#9b2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #9b2eb6;
$custom-light: #bd72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2eb6",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 288.088,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52504,
    "c": 0.21269,
    "h": 318.7
  },
  "luminance": 0.123
}

Semantic roles & 50–950 ramp

primary
#9B2EB6
secondary
#88C878
accent
#E34564
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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