#9B2AA3#9B2AA3

#9B2AA3 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 50.9% C 0.201 H 325.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9B2AA3
RGBrgb(155, 42, 163)
HSLhsl(296, 59%, 40%)
HSVhsv(296, 74%, 64%)
CMYKcmyk(4.9%, 74.2%, 0%, 36.1%)
CIE-LABlab(40.03, 60.54, -41.32)
CIE-LCHlch(40.03, 73.30, 325.68°)
OKLaboklab(50.95% 0.1649 -0.115)
OKLCHoklch(50.95% 0.201 325.1)
XYZxyz(20.9559, 11.2702, 35.7148)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AA3 #32A32A
analogous
#5E2AA3 #9B2AA3 #A32A6E
triadic
#9B2AA3 #A39B2A #2AA39B
tetradic
#9B2AA3 #A35E2A #32A32A #2A6EA3
square
#9B2AA3 #A35E2A #32A32A #2A6EA3
split-complementary
#9B2AA3 #6EA32A #2AA35E
monochromatic
#3E1142 #6D1D72 #9B2AA3 #C43DCD #D26EDA

Accessibility & contrast

On white

6.45
#9B2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2AA3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AA3#FFFFFF#000000##FFFFFF
##9B2AA31.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#4363A0
Tritanopia (blue-blind)
#9E3F65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2aa3;
/* rgb */ color: rgb(155, 42, 163);
/* oklch */ color: oklch(50.9% 0.201 325.1);
Tailwind
colors: {
  custom: {
    50: '#bc70bf',
    500: '#9b2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2aa3;
$custom-light: #bc70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2aa3",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 296.033,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.20108,
    "h": 325.1
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#9B2AA3
secondary
#6EC068
accent
#E24650
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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