#9B2AA9#9B2AA9

#9B2AA9 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.206 H 323.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9B2AA9
RGBrgb(155, 42, 169)
HSLhsl(293, 60%, 41%)
HSVhsv(293, 75%, 66%)
CMYKcmyk(8.3%, 75.1%, 0%, 33.7%)
CIE-LABlab(40.39, 61.60, -44.33)
CIE-LCHlch(40.39, 75.90, 324.26°)
OKLaboklab(51.32% 0.1646 -0.1238)
OKLCHoklch(51.32% 0.206 323)
XYZxyz(21.5063, 11.4904, 38.6135)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AA9 #38A92A
analogous
#5C2AA9 #9B2AA9 #A92A78
triadic
#9B2AA9 #A99B2A #2AA99B
tetradic
#9B2AA9 #A95C2A #38A92A #2A78A9
square
#9B2AA9 #A95C2A #38A92A #2A78A9
split-complementary
#9B2AA9 #78A92A #2AA95C
monochromatic
#411247 #6E1E78 #9B2AA9 #C041D0 #D072DC

Accessibility & contrast

On white

6.37
#9B2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9B2AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2AA9
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AA9#FFFFFF#000000##FFFFFF
##9B2AA91.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2aa9;
/* rgb */ color: rgb(155, 42, 169);
/* oklch */ color: oklch(51.3% 0.206 323.0);
Tailwind
colors: {
  custom: {
    50: '#bc70c3',
    500: '#9b2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #9b2aa9;
$custom-light: #bc70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2aa9",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 293.386,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51321,
    "c": 0.20598,
    "h": 323
  },
  "luminance": 0.11489
}

Semantic roles & 50–950 ramp

primary
#9B2AA9
secondary
#75C36C
accent
#E34456
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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