#9B3CA5#9B3CA5

#9B3CA5 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.9% C 0.180 H 323.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9B3CA5
RGBrgb(155, 60, 165)
HSLhsl(294, 47%, 44%)
HSVhsv(294, 64%, 65%)
CMYKcmyk(6.1%, 63.6%, 0%, 35.3%)
CIE-LABlab(42.64, 53.89, -38.37)
CIE-LCHlch(42.64, 66.15, 324.54°)
OKLaboklab(52.86% 0.1456 -0.1066)
OKLCHoklch(52.86% 0.18 323.8)
XYZxyz(21.9243, 12.9181, 36.9287)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CA5 #46A53C
analogous
#673CA5 #9B3CA5 #A53C7B
triadic
#9B3CA5 #A59B3C #3CA59B
tetradic
#9B3CA5 #A5673C #46A53C #3C7BA5
square
#9B3CA5 #A5673C #46A53C #3C7BA5
split-complementary
#9B3CA5 #7BA53C #3CA567
monochromatic
#471B4B #712C78 #9B3CA5 #B95BC3 #CC88D4

Accessibility & contrast

On white

5.86
#9B3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9B3CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CA5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CA5#FFFFFF#000000##FFFFFF
##9B3CA51.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA8
Deuteranopia (green-blind)
#4D69A2
Tritanopia (blue-blind)
#9E4C6B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b3ca5;
/* rgb */ color: rgb(155, 60, 165);
/* oklch */ color: oklch(52.9% 0.180 323.8);
Tailwind
colors: {
  custom: {
    50: '#bb78c0',
    500: '#9b3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ca5;
$custom-light: #bb78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ca5",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 294.286,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52858,
    "c": 0.18041,
    "h": 323.8
  },
  "luminance": 0.12917
}

Semantic roles & 50–950 ramp

primary
#9B3CA5
secondary
#85BE7F
accent
#D6515E
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9B3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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