#9B2AB7#9B2AB7

#9B2AB7 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.218 H 318.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9B2AB7
RGBrgb(155, 42, 183)
HSLhsl(288, 63%, 44%)
HSVhsv(288, 77%, 72%)
CMYKcmyk(15.3%, 77%, 0%, 28.2%)
CIE-LABlab(41.29, 64.16, -51.20)
CIE-LCHlch(41.29, 82.09, 321.41°)
OKLaboklab(52.24% 0.1632 -0.1439)
OKLCHoklch(52.24% 0.218 318.6)
XYZxyz(22.8916, 12.0445, 45.9096)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AB7 #46B72A
analogous
#552AB7 #9B2AB7 #B72A8D
triadic
#9B2AB7 #B79B2A #2AB79B
tetradic
#9B2AB7 #B7552A #46B72A #2A8DB7
square
#9B2AB7 #B7552A #46B72A #2A8DB7
split-complementary
#9B2AB7 #8DB72A #2AB755
monochromatic
#471353 #711F85 #9B2AB7 #B949D5 #CC7BE1

Accessibility & contrast

On white

6.16
#9B2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9B2AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2AB7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AB7#FFFFFF#000000##FFFFFF
##9B2AB71.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#9A4970
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2ab7;
/* rgb */ color: rgb(155, 42, 183);
/* oklch */ color: oklch(52.2% 0.218 318.6);
Tailwind
colors: {
  custom: {
    50: '#bd71cd',
    500: '#9b2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ab7;
$custom-light: #bd71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ab7",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 288.085,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.21762,
    "h": 318.6
  },
  "luminance": 0.12043
}

Semantic roles & 50–950 ramp

primary
#9B2AB7
secondary
#85C974
accent
#E64263
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9B2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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