#9B2CBD#9B2CBD

#9B2CBD is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.221 H 316.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9B2CBD
RGBrgb(155, 44, 189)
HSLhsl(286, 62%, 46%)
HSVhsv(286, 77%, 74%)
CMYKcmyk(18%, 76.7%, 0%, 25.9%)
CIE-LABlab(41.91, 64.64, -53.72)
CIE-LCHlch(41.91, 84.05, 320.27°)
OKLaboklab(52.81% 0.1607 -0.1513)
OKLCHoklch(52.81% 0.221 316.7)
XYZxyz(23.6022, 12.4450, 49.2931)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CBD #4EBD2C
analogous
#522CBD #9B2CBD #BD2C96
triadic
#9B2CBD #BD9B2C #2CBD9B
tetradic
#9B2CBD #BD522C #4EBD2C #2C96BD
square
#9B2CBD #BD522C #4EBD2C #2C96BD
split-complementary
#9B2CBD #96BD2C #2CBD52
monochromatic
#4A155A #72208B #9B2CBD #B750D6 #CB82E2

Accessibility & contrast

On white

6.02
#9B2CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9B2CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CBD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CBD#FFFFFF#000000##FFFFFF
##9B2CBD1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2D66BA
Tritanopia (blue-blind)
#994C74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2cbd;
/* rgb */ color: rgb(155, 44, 189);
/* oklch */ color: oklch(52.8% 0.221 316.7);
Tailwind
colors: {
  custom: {
    50: '#bd72d2',
    500: '#9b2cbd',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cbd;
$custom-light: #bd72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cbd",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 285.931,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5281,
    "c": 0.22074,
    "h": 316.7
  },
  "luminance": 0.12444
}

Semantic roles & 50–950 ramp

primary
#9B2CBD
secondary
#8DCB7A
accent
#E54269
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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