#9B2E96#9B2E96

#9B2E96 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.186 H 329.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9B2E96
RGBrgb(155, 46, 150)
HSLhsl(303, 54%, 39%)
HSVhsv(303, 70%, 61%)
CMYKcmyk(0%, 70.3%, 3.2%, 39.2%)
CIE-LABlab(39.79, 56.91, -33.87)
CIE-LCHlch(39.79, 66.22, 329.24°)
OKLaboklab(50.54% 0.1609 -0.0934)
OKLCHoklch(50.54% 0.186 329.9)
XYZxyz(19.9995, 11.1261, 29.9424)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E96 #2E9B33
analogous
#6A2E9B #9B2E96 #9B2E60
triadic
#9B2E96 #969B2E #2E969B
tetradic
#9B2E96 #9B6A2E #2E9B33 #2E609B
square
#9B2E96 #9B6A2E #2E9B33 #2E609B
split-complementary
#9B2E96 #609B2E #2E9B6A
monochromatic
#3D123B #6C2068 #9B2E96 #C640C0 #D46FD0

Accessibility & contrast

On white

6.51
#9B2E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2E96
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E96#FFFFFF#000000##FFFFFF
##9B2E961.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225499
Deuteranopia (green-blind)
#4D6393
Tritanopia (blue-blind)
#A13C5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2e96;
/* rgb */ color: rgb(155, 46, 150);
/* oklch */ color: oklch(50.5% 0.186 329.9);
Tailwind
colors: {
  custom: {
    50: '#bc71b5',
    500: '#9b2e96',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e96;
$custom-light: #bc71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e96",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 302.752,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50537,
    "c": 0.18607,
    "h": 329.9
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#9B2E96
secondary
#69BC6D
accent
#DE514A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2E96

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

Preview Lab → · Contrast checker → · Palette generator →

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