#9B2B8A#9B2B8A

#9B2B8A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.180 H 334.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9B2B8A
RGBrgb(155, 43, 138)
HSLhsl(309, 57%, 39%)
HSVhsv(309, 72%, 61%)
CMYKcmyk(0%, 72.3%, 11%, 39.2%)
CIE-LABlab(38.78, 56.06, -28.14)
CIE-LCHlch(38.78, 62.73, 333.35°)
OKLaboklab(49.61% 0.1633 -0.0769)
OKLCHoklch(49.61% 0.18 334.8)
XYZxyz(18.9691, 10.5329, 25.0738)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2B8A #2B9B3C
analogous
#742B9B #9B2B8A #9B2B52
triadic
#9B2B8A #8A9B2B #2B8A9B
tetradic
#9B2B8A #9B742B #2B9B3C #2B529B
square
#9B2B8A #9B742B #2B9B3C #2B529B
split-complementary
#9B2B8A #529B2B #2B9B74
monochromatic
#3B1035 #6B1E5F #9B2B8A #C93BB3 #D66BC6

Accessibility & contrast

On white

6.76
#9B2B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9B2B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2B8A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2B8A#FFFFFF#000000##FFFFFF
##9B2B8A1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518D
Deuteranopia (green-blind)
#516187
Tritanopia (blue-blind)
#A33457
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2b8a;
/* rgb */ color: rgb(155, 43, 138);
/* oklch */ color: oklch(49.6% 0.180 334.8);
Tailwind
colors: {
  custom: {
    50: '#bc6fac',
    500: '#9b2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #9b2b8a;
$custom-light: #bc6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2b8a",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 309.107,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49606,
    "c": 0.18046,
    "h": 334.8
  },
  "luminance": 0.10531
}

Semantic roles & 50–950 ramp

primary
#9B2B8A
secondary
#65BC73
accent
#E05F48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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