#9B2D99#9B2D99

#9B2D99 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.190 H 328.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9B2D99
RGBrgb(155, 45, 153)
HSLhsl(301, 55%, 39%)
HSVhsv(301, 71%, 61%)
CMYKcmyk(0%, 71%, 1.3%, 39.2%)
CIE-LABlab(39.83, 57.78, -35.63)
CIE-LCHlch(39.83, 67.88, 328.34°)
OKLaboklab(50.62% 0.1621 -0.0985)
OKLCHoklch(50.62% 0.19 328.7)
XYZxyz(20.2055, 11.1467, 31.2181)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2D99 #2D9B2F
analogous
#662D9B #9B2D99 #9B2D62
triadic
#9B2D99 #999B2D #2D999B
tetradic
#9B2D99 #9B662D #2D9B2F #2D629B
square
#9B2D99 #9B662D #2D9B2F #2D629B
split-complementary
#9B2D99 #629B2D #2D9B66
monochromatic
#3C113B #6C1F6A #9B2D99 #C73EC5 #D56ED3

Accessibility & contrast

On white

6.50
#9B2D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9B2D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2D99
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2D99#FFFFFF#000000##FFFFFF
##9B2D991.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559C
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#A03C60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2d99;
/* rgb */ color: rgb(155, 45, 153);
/* oklch */ color: oklch(50.6% 0.190 328.7);
Tailwind
colors: {
  custom: {
    50: '#bc71b7',
    500: '#9b2d99',
    950: '#000000',
  },
}
SCSS
$custom: #9b2d99;
$custom-light: #bc71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2d99",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 301.091,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50615,
    "c": 0.18965,
    "h": 328.7
  },
  "luminance": 0.11145
}

Semantic roles & 50–950 ramp

primary
#9B2D99
secondary
#68BC69
accent
#DE4C49
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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