#9B2A96#9B2A96

#9B2A96 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.191 H 329.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9B2A96
RGBrgb(155, 42, 150)
HSLhsl(303, 57%, 39%)
HSVhsv(303, 73%, 61%)
CMYKcmyk(0%, 72.9%, 3.2%, 39.2%)
CIE-LABlab(39.29, 58.34, -34.66)
CIE-LCHlch(39.29, 67.86, 329.28°)
OKLaboklab(50.18% 0.165 -0.0957)
OKLCHoklch(50.18% 0.191 329.9)
XYZxyz(19.8504, 10.8280, 29.8928)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A96 #2A9B2F
analogous
#672A9B #9B2A96 #9B2A5D
triadic
#9B2A96 #969B2A #2A969B
tetradic
#9B2A96 #9B672A #2A9B2F #2A5D9B
square
#9B2A96 #9B672A #2A9B2F #2A5D9B
split-complementary
#9B2A96 #5D9B2A #2A9B67
monochromatic
#3B1039 #6B1D67 #9B2A96 #C939C3 #D669D2

Accessibility & contrast

On white

6.63
#9B2A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9B2A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2A96
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A96#FFFFFF#000000##FFFFFF
##9B2A961.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5399
Deuteranopia (green-blind)
#4B6293
Tritanopia (blue-blind)
#A1395D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2a96;
/* rgb */ color: rgb(155, 42, 150);
/* oklch */ color: oklch(50.2% 0.191 329.9);
Tailwind
colors: {
  custom: {
    50: '#bc6fb5',
    500: '#9b2a96',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a96;
$custom-light: #bc6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a96",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 302.655,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50176,
    "c": 0.19073,
    "h": 329.9
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

primary
#9B2A96
secondary
#64BD68
accent
#E14E47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2A96

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

Preview Lab → · Contrast checker → · Palette generator →

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