#9B2DB6#9B2DB6

#9B2DB6 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.214 H 318.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9B2DB6
RGBrgb(155, 45, 182)
HSLhsl(288, 60%, 45%)
HSVhsv(288, 75%, 71%)
CMYKcmyk(14.8%, 75.3%, 0%, 28.6%)
CIE-LABlab(41.57, 62.97, -50.16)
CIE-LCHlch(41.57, 80.51, 321.46°)
OKLaboklab(52.42% 0.1607 -0.1409)
OKLCHoklch(52.42% 0.214 318.8)
XYZxyz(22.8983, 12.2238, 45.4002)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DB6 #48B62D
analogous
#572DB6 #9B2DB6 #B62D8D
triadic
#9B2DB6 #B69B2D #2DB69B
tetradic
#9B2DB6 #B6572D #48B62D #2D8DB6
square
#9B2DB6 #B6572D #48B62D #2D8DB6
split-complementary
#9B2DB6 #8DB62D #2DB657
monochromatic
#471554 #712185 #9B2DB6 #B94DD3 #CC7EDF

Accessibility & contrast

On white

6.10
#9B2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2DB6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DB6#FFFFFF#000000##FFFFFF
##9B2DB61.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.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: #9b2db6;
/* rgb */ color: rgb(155, 45, 182);
/* oklch */ color: oklch(52.4% 0.214 318.8);
Tailwind
colors: {
  custom: {
    50: '#bd72cd',
    500: '#9b2db6',
    950: '#000000',
  },
}
SCSS
$custom: #9b2db6;
$custom-light: #bd72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2db6",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 288.175,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.21374,
    "h": 318.8
  },
  "luminance": 0.12223
}

Semantic roles & 50–950 ramp

primary
#9B2DB6
secondary
#87C877
accent
#E34464
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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