#9B2D8D#9B2D8D

#9B2D8D is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.0% C 0.180 H 333.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9B2D8D
RGBrgb(155, 45, 141)
HSLhsl(308, 55%, 39%)
HSVhsv(308, 71%, 61%)
CMYKcmyk(0%, 71%, 9%, 39.2%)
CIE-LABlab(39.19, 55.81, -29.33)
CIE-LCHlch(39.19, 63.05, 332.27°)
OKLaboklab(49.95% 0.1614 -0.0803)
OKLCHoklch(49.95% 0.18 333.5)
XYZxyz(19.2638, 10.7700, 26.2584)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2D8D #2D9B3B
analogous
#722D9B #9B2D8D #9B2D56
triadic
#9B2D8D #8D9B2D #2D8D9B
tetradic
#9B2D8D #9B722D #2D9B3B #2D569B
square
#9B2D8D #9B722D #2D9B3B #2D569B
split-complementary
#9B2D8D #569B2D #2D9B72
monochromatic
#3C1137 #6C1F62 #9B2D8D #C73EB6 #D56EC8

Accessibility & contrast

On white

6.66
#9B2D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9B2D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2D8D
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2D8D#FFFFFF#000000##FFFFFF
##9B2D8D1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A23759
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2d8d;
/* rgb */ color: rgb(155, 45, 141);
/* oklch */ color: oklch(50.0% 0.180 333.5);
Tailwind
colors: {
  custom: {
    50: '#bc70ae',
    500: '#9b2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #9b2d8d;
$custom-light: #bc70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2d8d",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 307.636,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4995,
    "c": 0.18029,
    "h": 333.5
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

primary
#9B2D8D
secondary
#68BC73
accent
#DE5C49
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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