#9B2D9B#9B2D9B

#9B2D9B is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.191 H 327.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9B2D9B
RGBrgb(155, 45, 155)
HSLhsl(300, 55%, 39%)
HSVhsv(300, 71%, 61%)
CMYKcmyk(0%, 71%, 0%, 39.2%)
CIE-LABlab(39.94, 58.12, -36.66)
CIE-LCHlch(39.94, 68.71, 327.76°)
OKLaboklab(50.73% 0.1621 -0.1015)
OKLCHoklch(50.73% 0.191 327.9)
XYZxyz(20.3721, 11.2133, 32.0954)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2D9B #2D9B2D
analogous
#642D9B #9B2D9B #9B2D64
triadic
#9B2D9B #9B9B2D #2D9B9B
tetradic
#9B2D9B #9B642D #2D9B2D #2D649B
square
#9B2D9B #9B642D #2D9B2D #2D649B
split-complementary
#9B2D9B #649B2D #2D9B64
monochromatic
#3C113C #6C1F6C #9B2D9B #C73EC7 #D56ED5

Accessibility & contrast

On white

6.48
#9B2D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9B2D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2D9B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2D9B#FFFFFF#000000##FFFFFF
##9B2D9B1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A559E
Deuteranopia (green-blind)
#4A6398
Tritanopia (blue-blind)
#A03D61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2d9b;
/* rgb */ color: rgb(155, 45, 155);
/* oklch */ color: oklch(50.7% 0.191 327.9);
Tailwind
colors: {
  custom: {
    50: '#bc71b9',
    500: '#9b2d9b',
    950: '#000000',
  },
}
SCSS
$custom: #9b2d9b;
$custom-light: #bc71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2d9b",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 300,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5073,
    "c": 0.19126,
    "h": 327.9
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#9B2D9B
secondary
#68BC68
accent
#DE4949
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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