#9B2DBC#9B2DBC

#9B2DBC is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.219 H 317.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9B2DBC
RGBrgb(155, 45, 188)
HSLhsl(286, 61%, 46%)
HSVhsv(286, 76%, 74%)
CMYKcmyk(17.6%, 76.1%, 0%, 26.3%)
CIE-LABlab(41.96, 64.11, -53.05)
CIE-LCHlch(41.96, 83.21, 320.39°)
OKLaboklab(52.82% 0.16 -0.1494)
OKLCHoklch(52.82% 0.219 317)
XYZxyz(23.5317, 12.4772, 48.7360)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DBC #4EBC2D
analogous
#542DBC #9B2DBC #BC2D95
triadic
#9B2DBC #BC9B2D #2DBC9B
tetradic
#9B2DBC #BC542D #4EBC2D #2D95BC
square
#9B2DBC #BC542D #4EBC2D #2D95BC
split-complementary
#9B2DBC #95BC2D #2DBC54
monochromatic
#4A1559 #72218B #9B2DBC #B751D5 #CB82E1

Accessibility & contrast

On white

6.01
#9B2DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2DBC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DBC#FFFFFF#000000##FFFFFF
##9B2DBC1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2F66B9
Tritanopia (blue-blind)
#994C73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2dbc;
/* rgb */ color: rgb(155, 45, 188);
/* oklch */ color: oklch(52.8% 0.219 317.0);
Tailwind
colors: {
  custom: {
    50: '#bd72d1',
    500: '#9b2dbc',
    950: '#000000',
  },
}
SCSS
$custom: #9b2dbc;
$custom-light: #bd72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2dbc",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 286.154,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52824,
    "c": 0.21888,
    "h": 317
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#9B2DBC
secondary
#8DCA7B
accent
#E44369
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9B2DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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