#9B2AB3#9B2AB3

#9B2AB3 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.214 H 319.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9B2AB3
RGBrgb(155, 42, 179)
HSLhsl(289, 62%, 43%)
HSVhsv(289, 77%, 70%)
CMYKcmyk(13.4%, 76.5%, 0%, 29.8%)
CIE-LABlab(41.03, 63.42, -49.26)
CIE-LCHlch(41.03, 80.30, 322.16°)
OKLaboklab(51.97% 0.1637 -0.1383)
OKLCHoklch(51.97% 0.214 319.8)
XYZxyz(22.4812, 11.8803, 43.7481)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AB3 #42B32A
analogous
#562AB3 #9B2AB3 #B32A86
triadic
#9B2AB3 #B39B2A #2AB39B
tetradic
#9B2AB3 #B3562A #42B32A #2A86B3
square
#9B2AB3 #B3562A #42B32A #2A86B3
split-complementary
#9B2AB3 #86B32A #2AB356
monochromatic
#451350 #701E81 #9B2AB3 #BB46D4 #CD78DF

Accessibility & contrast

On white

6.22
#9B2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9B2AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2AB3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AB3#FFFFFF#000000##FFFFFF
##9B2AB31.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#3764B0
Tritanopia (blue-blind)
#9B476E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2ab3;
/* rgb */ color: rgb(155, 42, 179);
/* oklch */ color: oklch(52.0% 0.214 319.8);
Tailwind
colors: {
  custom: {
    50: '#bd70ca',
    500: '#9b2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ab3;
$custom-light: #bd70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ab3",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 289.489,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.21427,
    "h": 319.8
  },
  "luminance": 0.11879
}

Semantic roles & 50–950 ramp

primary
#9B2AB3
secondary
#81C772
accent
#E5435F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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