#9B2AAA#9B2AAA

#9B2AAA is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.207 H 322.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9B2AAA
RGBrgb(155, 42, 170)
HSLhsl(293, 60%, 42%)
HSVhsv(293, 75%, 67%)
CMYKcmyk(8.8%, 75.3%, 0%, 33.3%)
CIE-LABlab(40.46, 61.78, -44.83)
CIE-LCHlch(40.46, 76.33, 324.03°)
OKLaboklab(51.39% 0.1645 -0.1253)
OKLCHoklch(51.39% 0.207 322.7)
XYZxyz(21.6005, 11.5280, 39.1098)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AAA #39AA2A
analogous
#5B2AAA #9B2AAA #AA2A79
triadic
#9B2AAA #AA9B2A #2AAA9B
tetradic
#9B2AAA #AA5B2A #39AA2A #2A79AA
square
#9B2AAA #AA5B2A #39AA2A #2A79AA
split-complementary
#9B2AAA #79AA2A #2AAA5B
monochromatic
#421248 #6E1E79 #9B2AAA #BF41D0 #D072DC

Accessibility & contrast

On white

6.35
#9B2AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9B2AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2AAA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AAA#FFFFFF#000000##FFFFFF
##9B2AAA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#3E64A7
Tritanopia (blue-blind)
#9D4268
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2aaa;
/* rgb */ color: rgb(155, 42, 170);
/* oklch */ color: oklch(51.4% 0.207 322.7);
Tailwind
colors: {
  custom: {
    50: '#bc70c4',
    500: '#9b2aaa',
    950: '#000000',
  },
}
SCSS
$custom: #9b2aaa;
$custom-light: #bc70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2aaa",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 292.969,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51385,
    "c": 0.2068,
    "h": 322.7
  },
  "luminance": 0.11527
}

Semantic roles & 50–950 ramp

primary
#9B2AAA
secondary
#77C36C
accent
#E44457
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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