#9B2E95#9B2E95

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

Color values

HEX#9B2E95
RGBrgb(155, 46, 149)
HSLhsl(303, 54%, 39%)
HSVhsv(303, 70%, 61%)
CMYKcmyk(0%, 70.3%, 3.9%, 39.2%)
CIE-LABlab(39.74, 56.74, -33.34)
CIE-LCHlch(39.74, 65.81, 329.56°)
OKLaboklab(50.48% 0.1609 -0.0919)
OKLCHoklch(50.48% 0.185 330.3)
XYZxyz(19.9193, 11.0940, 29.5202)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E95 #2E9B34
analogous
#6B2E9B #9B2E95 #9B2E5F
triadic
#9B2E95 #959B2E #2E959B
tetradic
#9B2E95 #9B6B2E #2E9B34 #2E5F9B
square
#9B2E95 #9B6B2E #2E9B34 #2E5F9B
split-complementary
#9B2E95 #5F9B2E #2E9B6B
monochromatic
#3D123A #6C2068 #9B2E95 #C640BF #D46FCF

Accessibility & contrast

On white

6.52
#9B2E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9B2E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E95
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E95#FFFFFF#000000##FFFFFF
##9B2E951.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235498
Deuteranopia (green-blind)
#4E6392
Tritanopia (blue-blind)
#A13B5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2e95;
/* rgb */ color: rgb(155, 46, 149);
/* oklch */ color: oklch(50.5% 0.185 330.3);
Tailwind
colors: {
  custom: {
    50: '#bc71b4',
    500: '#9b2e95',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e95;
$custom-light: #bc71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e95",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 303.303,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50481,
    "c": 0.18527,
    "h": 330.3
  },
  "luminance": 0.11092
}

Semantic roles & 50–950 ramp

primary
#9B2E95
secondary
#69BC6E
accent
#DE524A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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