#9A2B99#9A2B99

#9A2B99 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.191 H 328.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9A2B99
RGBrgb(154, 43, 153)
HSLhsl(301, 56%, 39%)
HSVhsv(301, 72%, 60%)
CMYKcmyk(0%, 72.1%, 0.6%, 39.6%)
CIE-LABlab(39.41, 58.26, -36.30)
CIE-LCHlch(39.41, 68.64, 328.08°)
OKLaboklab(50.28% 0.163 -0.1005)
OKLCHoklch(50.28% 0.191 328.4)
XYZxyz(19.9398, 10.8991, 31.1843)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2B99 #2B9A2C
analogous
#632B9A #9A2B99 #9A2B61
triadic
#9A2B99 #999A2B #2B999A
tetradic
#9A2B99 #9A632B #2B9A2C #2B619A
square
#9A2B99 #9A632B #2B9A2C #2B619A
split-complementary
#9A2B99 #619A2B #2B9A63
monochromatic
#3A103A #6A1E69 #9A2B99 #C83AC7 #D56AD4

Accessibility & contrast

On white

6.60
#9A2B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9A2B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2B99
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2B99#FFFFFF#000000##FFFFFF
##9A2B991.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18549C
Deuteranopia (green-blind)
#496296
Tritanopia (blue-blind)
#9F3B5F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a2b99;
/* rgb */ color: rgb(154, 43, 153);
/* oklch */ color: oklch(50.3% 0.191 328.4);
Tailwind
colors: {
  custom: {
    50: '#bb70b7',
    500: '#9a2b99',
    950: '#000000',
  },
}
SCSS
$custom: #9a2b99;
$custom-light: #bb70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2b99",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 300.541,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50284,
    "c": 0.19145,
    "h": 328.4
  },
  "luminance": 0.10898
}

Semantic roles & 50–950 ramp

primary
#9A2B99
secondary
#65BC66
accent
#E04A48
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2B99

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

Preview Lab → · Contrast checker → · Palette generator →

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