#9B2DBD#9B2DBD

#9B2DBD is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.220 H 316.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9B2DBD
RGBrgb(155, 45, 189)
HSLhsl(286, 62%, 46%)
HSVhsv(286, 76%, 74%)
CMYKcmyk(18%, 76.2%, 0%, 25.9%)
CIE-LABlab(42.03, 64.31, -53.53)
CIE-LCHlch(42.03, 83.67, 320.23°)
OKLaboklab(52.89% 0.1599 -0.1508)
OKLCHoklch(52.89% 0.22 316.7)
XYZxyz(23.6399, 12.5204, 49.3057)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DBD #4FBD2D
analogous
#532DBD #9B2DBD #BD2D97
triadic
#9B2DBD #BD9B2D #2DBD9B
tetradic
#9B2DBD #BD532D #4FBD2D #2D97BD
square
#9B2DBD #BD532D #4FBD2D #2D97BD
split-complementary
#9B2DBD #97BD2D #2DBD53
monochromatic
#4A155A #72218C #9B2DBD #B652D6 #CB83E1

Accessibility & contrast

On white

5.99
#9B2DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9B2DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DBD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DBD#FFFFFF#000000##FFFFFF
##9B2DBD1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#2E66BA
Tritanopia (blue-blind)
#994D74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2dbd;
/* rgb */ color: rgb(155, 45, 189);
/* oklch */ color: oklch(52.9% 0.220 316.7);
Tailwind
colors: {
  custom: {
    50: '#bd72d2',
    500: '#9b2dbd',
    950: '#000000',
  },
}
SCSS
$custom: #9b2dbd;
$custom-light: #bd72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2dbd",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 189
  },
  "hsl": {
    "h": 285.833,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.21974,
    "h": 316.7
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#9B2DBD
secondary
#8ECB7B
accent
#E54369
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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