#9B3CA9#9B3CA9

#9B3CA9 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.1% C 0.184 H 322.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9B3CA9
RGBrgb(155, 60, 169)
HSLhsl(292, 48%, 45%)
HSVhsv(292, 64%, 66%)
CMYKcmyk(8.3%, 64.5%, 0%, 33.7%)
CIE-LABlab(42.86, 54.64, -40.40)
CIE-LCHlch(42.86, 67.95, 323.52°)
OKLaboklab(53.09% 0.1457 -0.1125)
OKLCHoklch(53.09% 0.184 322.3)
XYZxyz(22.2941, 13.0660, 38.8761)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CA9 #4AA93C
analogous
#653CA9 #9B3CA9 #A93C80
triadic
#9B3CA9 #A99B3C #3CA99B
tetradic
#9B3CA9 #A9653C #4AA93C #3C80A9
square
#9B3CA9 #A9653C #4AA93C #3C80A9
split-complementary
#9B3CA9 #80A93C #3CA965
monochromatic
#481C4F #722C7C #9B3CA9 #B85DC5 #CC8AD5

Accessibility & contrast

On white

5.81
#9B3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9B3CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CA9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CA9#FFFFFF#000000##FFFFFF
##9B3CA91.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225EAC
Deuteranopia (green-blind)
#4A69A6
Tritanopia (blue-blind)
#9D4D6D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b3ca9;
/* rgb */ color: rgb(155, 60, 169);
/* oklch */ color: oklch(53.1% 0.184 322.3);
Tailwind
colors: {
  custom: {
    50: '#bb79c3',
    500: '#9b3ca9',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ca9;
$custom-light: #bb79c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ca9",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 292.294,
    "s": 47.598,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53091,
    "c": 0.18404,
    "h": 322.3
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#9B3CA9
secondary
#89C081
accent
#D75162
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9B3CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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