#9B2BB4#9B2BB4

#9B2BB4 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.214 H 319.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9B2BB4
RGBrgb(155, 43, 180)
HSLhsl(289, 61%, 44%)
HSVhsv(289, 76%, 71%)
CMYKcmyk(13.9%, 76.1%, 0%, 29.4%)
CIE-LABlab(41.20, 63.27, -49.56)
CIE-LCHlch(41.20, 80.38, 321.93°)
OKLaboklab(52.12% 0.1627 -0.1391)
OKLCHoklch(52.12% 0.214 319.5)
XYZxyz(22.6186, 11.9927, 44.2946)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BB4 #44B42B
analogous
#562BB4 #9B2BB4 #B42B88
triadic
#9B2BB4 #B49B2B #2BB49B
tetradic
#9B2BB4 #B4562B #44B42B #2B88B4
square
#9B2BB4 #B4562B #44B42B #2B88B4
split-complementary
#9B2BB4 #88B42B #2BB456
monochromatic
#461351 #701F83 #9B2BB4 #BA49D3 #CD7ADF

Accessibility & contrast

On white

6.18
#9B2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9B2BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BB4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BB4#FFFFFF#000000##FFFFFF
##9B2BB41.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#3665B1
Tritanopia (blue-blind)
#9B486E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2bb4;
/* rgb */ color: rgb(155, 43, 180);
/* oklch */ color: oklch(52.1% 0.214 319.5);
Tailwind
colors: {
  custom: {
    50: '#bd71cb',
    500: '#9b2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #9b2bb4;
$custom-light: #bd71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2bb4",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 289.051,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.2141,
    "h": 319.5
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#9B2BB4
secondary
#83C773
accent
#E54361
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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