#9B2AA5#9B2AA5

#9B2AA5 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.203 H 324.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9B2AA5
RGBrgb(155, 42, 165)
HSLhsl(295, 59%, 41%)
HSVhsv(295, 75%, 65%)
CMYKcmyk(6.1%, 74.5%, 0%, 35.3%)
CIE-LABlab(40.15, 60.89, -42.33)
CIE-LCHlch(40.15, 74.16, 325.19°)
OKLaboklab(51.07% 0.1648 -0.118)
OKLCHoklch(51.07% 0.203 324.4)
XYZxyz(21.1365, 11.3424, 36.6660)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AA5 #34A52A
analogous
#5D2AA5 #9B2AA5 #A52A71
triadic
#9B2AA5 #A59B2A #2AA59B
tetradic
#9B2AA5 #A55D2A #34A52A #2A71A5
square
#9B2AA5 #A55D2A #34A52A #2A71A5
split-complementary
#9B2AA5 #71A52A #2AA55D
monochromatic
#3F1143 #6D1E74 #9B2AA5 #C23ECE #D26FDA

Accessibility & contrast

On white

6.43
#9B2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9B2AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2AA5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AA5#FFFFFF#000000##FFFFFF
##9B2AA51.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#9E4066
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2aa5;
/* rgb */ color: rgb(155, 42, 165);
/* oklch */ color: oklch(51.1% 0.203 324.4);
Tailwind
colors: {
  custom: {
    50: '#bc70c0',
    500: '#9b2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #9b2aa5;
$custom-light: #bc70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2aa5",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 295.122,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5107,
    "c": 0.2027,
    "h": 324.4
  },
  "luminance": 0.11341
}

Semantic roles & 50–950 ramp

primary
#9B2AA5
secondary
#71C169
accent
#E34552
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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