#9B2AA4#9B2AA4

#9B2AA4 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.202 H 324.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9B2AA4
RGBrgb(155, 42, 164)
HSLhsl(296, 59%, 40%)
HSVhsv(296, 74%, 64%)
CMYKcmyk(5.5%, 74.4%, 0%, 35.7%)
CIE-LABlab(40.09, 60.72, -41.83)
CIE-LCHlch(40.09, 73.73, 325.44°)
OKLaboklab(51.01% 0.1649 -0.1165)
OKLCHoklch(51.01% 0.202 324.8)
XYZxyz(21.0458, 11.3062, 36.1886)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AA4 #33A42A
analogous
#5E2AA4 #9B2AA4 #A42A70
triadic
#9B2AA4 #A49B2A #2AA49B
tetradic
#9B2AA4 #A45E2A #33A42A #2A70A4
square
#9B2AA4 #A45E2A #33A42A #2A70A4
split-complementary
#9B2AA4 #70A42A #2AA45E
monochromatic
#3F1143 #6D1E73 #9B2AA4 #C33ECD #D26EDA

Accessibility & contrast

On white

6.44
#9B2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9B2AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2AA4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AA4#FFFFFF#000000##FFFFFF
##9B2AA41.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4363A1
Tritanopia (blue-blind)
#9E4065
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2aa4;
/* rgb */ color: rgb(155, 42, 164);
/* oklch */ color: oklch(51.0% 0.202 324.8);
Tailwind
colors: {
  custom: {
    50: '#bc70bf',
    500: '#9b2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #9b2aa4;
$custom-light: #bc70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2aa4",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 295.574,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51008,
    "c": 0.20189,
    "h": 324.8
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#9B2AA4
secondary
#6FC169
accent
#E24551
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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