#9B2DB4#9B2DB4

#9B2DB4 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.212 H 319.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9B2DB4
RGBrgb(155, 45, 180)
HSLhsl(289, 60%, 44%)
HSVhsv(289, 75%, 71%)
CMYKcmyk(13.9%, 75%, 0%, 29.4%)
CIE-LABlab(41.44, 62.60, -49.19)
CIE-LCHlch(41.44, 79.61, 321.84°)
OKLaboklab(52.29% 0.1609 -0.138)
OKLCHoklch(52.29% 0.212 319.4)
XYZxyz(22.6931, 12.1417, 44.3194)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DB4 #46B42D
analogous
#582DB4 #9B2DB4 #B42D8A
triadic
#9B2DB4 #B49B2D #2DB49B
tetradic
#9B2DB4 #B4582D #46B42D #2D8AB4
square
#9B2DB4 #B4582D #46B42D #2D8AB4
split-complementary
#9B2DB4 #8AB42D #2DB458
monochromatic
#471552 #712183 #9B2DB4 #B94CD2 #CC7DDE

Accessibility & contrast

On white

6.13
#9B2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9B2DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DB4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DB4#FFFFFF#000000##FFFFFF
##9B2DB41.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3865B1
Tritanopia (blue-blind)
#9B496F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2db4;
/* rgb */ color: rgb(155, 45, 180);
/* oklch */ color: oklch(52.3% 0.212 319.4);
Tailwind
colors: {
  custom: {
    50: '#bc72cb',
    500: '#9b2db4',
    950: '#000000',
  },
}
SCSS
$custom: #9b2db4;
$custom-light: #bc72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2db4",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 288.889,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52286,
    "c": 0.21203,
    "h": 319.4
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#9B2DB4
secondary
#85C776
accent
#E34562
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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