#9B2A99#9B2A99

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

Color values

HEX#9B2A99
RGBrgb(155, 42, 153)
HSLhsl(301, 57%, 39%)
HSVhsv(301, 73%, 61%)
CMYKcmyk(0%, 72.9%, 1.3%, 39.2%)
CIE-LABlab(39.46, 58.83, -36.22)
CIE-LCHlch(39.46, 69.09, 328.39°)
OKLaboklab(50.35% 0.1651 -0.1002)
OKLCHoklch(50.35% 0.193 328.7)
XYZxyz(20.0951, 10.9259, 31.1813)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A99 #2A9B2C
analogous
#642A9B #9B2A99 #9B2A60
triadic
#9B2A99 #999B2A #2A999B
tetradic
#9B2A99 #9B642A #2A9B2C #2A609B
square
#9B2A99 #9B642A #2A9B2C #2A609B
split-complementary
#9B2A99 #609B2A #2A9B64
monochromatic
#3B103A #6B1D69 #9B2A99 #C939C7 #D669D4

Accessibility & contrast

On white

6.59
#9B2A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2A99
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A99#FFFFFF#000000##FFFFFF
##9B2A991.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539C
Deuteranopia (green-blind)
#4A6296
Tritanopia (blue-blind)
#A03A5F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2a99;
/* rgb */ color: rgb(155, 42, 153);
/* oklch */ color: oklch(50.3% 0.193 328.7);
Tailwind
colors: {
  custom: {
    50: '#bc6fb7',
    500: '#9b2a99',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a99;
$custom-light: #bc6fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a99",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 301.062,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50349,
    "c": 0.19308,
    "h": 328.7
  },
  "luminance": 0.10924
}

Semantic roles & 50–950 ramp

primary
#9B2A99
secondary
#64BD66
accent
#E14A47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2A99

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

Preview Lab → · Contrast checker → · Palette generator →

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