#9B2CAA#9B2CAA

#9B2CAA is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.205 H 322.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9B2CAA
RGBrgb(155, 44, 170)
HSLhsl(293, 59%, 42%)
HSVhsv(293, 74%, 67%)
CMYKcmyk(8.8%, 74.1%, 0%, 33.3%)
CIE-LABlab(40.69, 61.10, -44.45)
CIE-LCHlch(40.69, 75.56, 323.96°)
OKLaboklab(51.55% 0.1627 -0.1242)
OKLCHoklch(51.55% 0.205 322.6)
XYZxyz(21.6732, 11.6735, 39.1340)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CAA #3BAA2C
analogous
#5C2CAA #9B2CAA #AA2C7A
triadic
#9B2CAA #AA9B2C #2CAA9B
tetradic
#9B2CAA #AA5C2C #3BAA2C #2C7AAA
square
#9B2CAA #AA5C2C #3BAA2C #2C7AAA
split-complementary
#9B2CAA #7AAA2C #2CAA5C
monochromatic
#421349 #6F1F79 #9B2CAA #BE44CF #CF75DB

Accessibility & contrast

On white

6.30
#9B2CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9B2CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CAA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CAA#FFFFFF#000000##FFFFFF
##9B2CAA1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#3F64A7
Tritanopia (blue-blind)
#9D4469
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2caa;
/* rgb */ color: rgb(155, 44, 170);
/* oklch */ color: oklch(51.6% 0.205 322.6);
Tailwind
colors: {
  custom: {
    50: '#bc71c4',
    500: '#9b2caa',
    950: '#000000',
  },
}
SCSS
$custom: #9b2caa;
$custom-light: #bc71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2caa",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 292.857,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51553,
    "c": 0.20468,
    "h": 322.6
  },
  "luminance": 0.11672
}

Semantic roles & 50–950 ramp

primary
#9B2CAA
secondary
#79C36F
accent
#E24658
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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