#9B2EB2#9B2EB2

#9B2EB2 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.209 H 320.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9B2EB2
RGBrgb(155, 46, 178)
HSLhsl(290, 59%, 44%)
HSVhsv(290, 74%, 70%)
CMYKcmyk(12.9%, 74.2%, 0%, 30.2%)
CIE-LABlab(41.43, 61.87, -48.01)
CIE-LCHlch(41.43, 78.32, 322.19°)
OKLaboklab(52.24% 0.1602 -0.1346)
OKLCHoklch(52.24% 0.209 320)
XYZxyz(22.5294, 12.1381, 43.2670)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EB2 #45B22E
analogous
#592EB2 #9B2EB2 #B22E87
triadic
#9B2EB2 #B29B2E #2EB29B
tetradic
#9B2EB2 #B2592E #45B22E #2E87B2
square
#9B2EB2 #B2592E #45B22E #2E87B2
split-complementary
#9B2EB2 #87B22E #2EB259
monochromatic
#461551 #712181 #9B2EB2 #BA4CD1 #CD7DDD

Accessibility & contrast

On white

6.13
#9B2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9B2EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EB2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EB2#FFFFFF#000000##FFFFFF
##9B2EB21.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#3A65AF
Tritanopia (blue-blind)
#9B486E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2eb2;
/* rgb */ color: rgb(155, 46, 178);
/* oklch */ color: oklch(52.2% 0.209 320.0);
Tailwind
colors: {
  custom: {
    50: '#bc72ca',
    500: '#9b2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2eb2;
$custom-light: #bc72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2eb2",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 289.545,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52241,
    "c": 0.20927,
    "h": 320
  },
  "luminance": 0.12137
}

Semantic roles & 50–950 ramp

primary
#9B2EB2
secondary
#84C676
accent
#E24661
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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