#9B3FA2#9B3FA2

#9B3FA2 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.0% C 0.173 H 324.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9B3FA2
RGBrgb(155, 63, 162)
HSLhsl(296, 44%, 44%)
HSVhsv(296, 61%, 64%)
CMYKcmyk(4.3%, 61.1%, 0%, 36.5%)
CIE-LABlab(42.96, 51.98, -36.07)
CIE-LCHlch(42.96, 63.27, 325.24°)
OKLaboklab(53.04% 0.1417 -0.0999)
OKLCHoklch(53.04% 0.173 324.8)
XYZxyz(21.8161, 13.1335, 35.5613)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FA2 #46A23F
analogous
#6A3FA2 #9B3FA2 #A23F78
triadic
#9B3FA2 #A29B3F #3FA29B
tetradic
#9B3FA2 #A26A3F #46A23F #3F78A2
square
#9B3FA2 #A26A3F #46A23F #3F78A2
split-complementary
#9B3FA2 #78A23F #3FA26A
monochromatic
#471D4A #712E76 #9B3FA2 #B95EC0 #CC8AD1

Accessibility & contrast

On white

5.79
#9B3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9B3FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3FA2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FA2#FFFFFF#000000##FFFFFF
##9B3FA21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#9E4D6B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b3fa2;
/* rgb */ color: rgb(155, 63, 162);
/* oklch */ color: oklch(53.0% 0.173 324.8);
Tailwind
colors: {
  custom: {
    50: '#bb7abe',
    500: '#9b3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3fa2;
$custom-light: #bb7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3fa2",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 295.758,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53041,
    "c": 0.17339,
    "h": 324.8
  },
  "luminance": 0.13132
}

Semantic roles & 50–950 ramp

primary
#9B3FA2
secondary
#85BC81
accent
#D4545D
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9B3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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