#9B2AA2#9B2AA2

#9B2AA2 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.200 H 325.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9B2AA2
RGBrgb(155, 42, 162)
HSLhsl(297, 59%, 40%)
HSVhsv(297, 74%, 64%)
CMYKcmyk(4.3%, 74.1%, 0%, 36.5%)
CIE-LABlab(39.97, 60.37, -40.82)
CIE-LCHlch(39.97, 72.87, 325.94°)
OKLaboklab(50.89% 0.165 -0.1136)
OKLCHoklch(50.89% 0.2 325.5)
XYZxyz(20.8667, 11.2345, 35.2448)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AA2 #31A22A
analogous
#5F2AA2 #9B2AA2 #A22A6D
triadic
#9B2AA2 #A29B2A #2AA29B
tetradic
#9B2AA2 #A25F2A #31A22A #2A6DA2
square
#9B2AA2 #A25F2A #31A22A #2A6DA2
split-complementary
#9B2AA2 #6DA22A #2AA25F
monochromatic
#3E1141 #6D1D71 #9B2AA2 #C43DCD #D36DD9

Accessibility & contrast

On white

6.47
#9B2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9B2AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2AA2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AA2#FFFFFF#000000##FFFFFF
##9B2AA21.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0155A5
Deuteranopia (green-blind)
#44639F
Tritanopia (blue-blind)
#9F3F64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2aa2;
/* rgb */ color: rgb(155, 42, 162);
/* oklch */ color: oklch(50.9% 0.200 325.5);
Tailwind
colors: {
  custom: {
    50: '#bc70be',
    500: '#9b2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2aa2;
$custom-light: #bc70be;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2aa2",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 296.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.20027,
    "h": 325.5
  },
  "luminance": 0.11233
}

Semantic roles & 50–950 ramp

primary
#9B2AA2
secondary
#6DC068
accent
#E2464F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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