#9B3BA2#9B3BA2

#9B3BA2 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.6% C 0.179 H 325.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9B3BA2
RGBrgb(155, 59, 162)
HSLhsl(296, 47%, 43%)
HSVhsv(296, 64%, 64%)
CMYKcmyk(4.3%, 63.6%, 0%, 36.5%)
CIE-LABlab(42.32, 53.77, -37.09)
CIE-LCHlch(42.32, 65.32, 325.40°)
OKLaboklab(52.57% 0.1466 -0.1029)
OKLCHoklch(52.57% 0.179 325)
XYZxyz(21.6026, 12.7064, 35.4901)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BA2 #42A23B
analogous
#673BA2 #9B3BA2 #A23B75
triadic
#9B3BA2 #A29B3B #3BA29B
tetradic
#9B3BA2 #A2673B #42A23B #3B75A2
square
#9B3BA2 #A2673B #42A23B #3B75A2
split-complementary
#9B3BA2 #75A23B #3BA267
monochromatic
#451A48 #702B75 #9B3BA2 #BB58C2 #CD85D3

Accessibility & contrast

On white

5.93
#9B3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9B3BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BA2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BA2#FFFFFF#000000##FFFFFF
##9B3BA21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#9E4A69
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b3ba2;
/* rgb */ color: rgb(155, 59, 162);
/* oklch */ color: oklch(52.6% 0.179 325.0);
Tailwind
colors: {
  custom: {
    50: '#bb78be',
    500: '#9b3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ba2;
$custom-light: #bb78be;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ba2",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 295.922,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52572,
    "c": 0.17912,
    "h": 325
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#9B3BA2
secondary
#81BD7C
accent
#D6525B
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9B3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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