#9B2AA7#9B2AA7

#9B2AA7 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.204 H 323.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9B2AA7
RGBrgb(155, 42, 167)
HSLhsl(294, 60%, 41%)
HSVhsv(294, 75%, 65%)
CMYKcmyk(7.2%, 74.9%, 0%, 34.5%)
CIE-LABlab(40.27, 61.25, -43.33)
CIE-LCHlch(40.27, 75.03, 324.72°)
OKLaboklab(51.2% 0.1647 -0.1209)
OKLCHoklch(51.2% 0.204 323.7)
XYZxyz(21.3200, 11.4158, 37.6322)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AA7 #36A72A
analogous
#5C2AA7 #9B2AA7 #A72A74
triadic
#9B2AA7 #A79B2A #2AA79B
tetradic
#9B2AA7 #A75C2A #36A72A #2A74A7
square
#9B2AA7 #A75C2A #36A72A #2A74A7
split-complementary
#9B2AA7 #74A72A #2AA75C
monochromatic
#401145 #6E1E76 #9B2AA7 #C13FCF #D170DB

Accessibility & contrast

On white

6.40
#9B2AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9B2AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2AA7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AA7#FFFFFF#000000##FFFFFF
##9B2AA71.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#4163A4
Tritanopia (blue-blind)
#9E4167
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2aa7;
/* rgb */ color: rgb(155, 42, 167);
/* oklch */ color: oklch(51.2% 0.204 323.7);
Tailwind
colors: {
  custom: {
    50: '#bc70c2',
    500: '#9b2aa7',
    950: '#000000',
  },
}
SCSS
$custom: #9b2aa7;
$custom-light: #bc70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2aa7",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 294.24,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51195,
    "c": 0.20434,
    "h": 323.7
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#9B2AA7
secondary
#73C26B
accent
#E34554
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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