#9B2EB4#9B2EB4

#9B2EB4 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.211 H 319.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9B2EB4
RGBrgb(155, 46, 180)
HSLhsl(289, 59%, 44%)
HSVhsv(289, 74%, 71%)
CMYKcmyk(13.9%, 74.4%, 0%, 29.4%)
CIE-LABlab(41.56, 62.25, -48.99)
CIE-LCHlch(41.56, 79.21, 321.80°)
OKLaboklab(52.37% 0.16 -0.1375)
OKLCHoklch(52.37% 0.211 319.3)
XYZxyz(22.7317, 12.2190, 44.3323)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EB4 #47B42E
analogous
#582EB4 #9B2EB4 #B42E8A
triadic
#9B2EB4 #B49B2E #2EB49B
tetradic
#9B2EB4 #B4582E #47B42E #2E8AB4
square
#9B2EB4 #B4582E #47B42E #2E8AB4
split-complementary
#9B2EB4 #8AB42E #2EB458
monochromatic
#471553 #712283 #9B2EB4 #B94ED2 #CC7EDE

Accessibility & contrast

On white

6.10
#9B2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9B2EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EB4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EB4#FFFFFF#000000##FFFFFF
##9B2EB41.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2eb4;
/* rgb */ color: rgb(155, 46, 180);
/* oklch */ color: oklch(52.4% 0.211 319.3);
Tailwind
colors: {
  custom: {
    50: '#bc72cb',
    500: '#9b2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #9b2eb4;
$custom-light: #bc72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2eb4",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 288.806,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.21097,
    "h": 319.3
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#9B2EB4
secondary
#86C777
accent
#E24563
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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