#9B3EB3#9B3EB3

#9B3EB3 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.9% C 0.191 H 318.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9B3EB3
RGBrgb(155, 62, 179)
HSLhsl(288, 49%, 47%)
HSVhsv(288, 65%, 70%)
CMYKcmyk(13.4%, 65.4%, 0%, 29.8%)
CIE-LABlab(43.76, 55.70, -44.89)
CIE-LCHlch(43.76, 71.54, 321.13°)
OKLaboklab(53.92% 0.1433 -0.1256)
OKLCHoklch(53.92% 0.191 318.8)
XYZxyz(23.3758, 13.6695, 44.0463)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EB3 #56B33E
analogous
#603EB3 #9B3EB3 #B33E91
triadic
#9B3EB3 #B39B3E #3EB39B
tetradic
#9B3EB3 #B3603E #56B33E #3E91B3
square
#9B3EB3 #B3603E #56B33E #3E91B3
split-complementary
#9B3EB3 #91B33E #3EB360
monochromatic
#4C1F58 #742E86 #9B3EB3 #B565CA #CB92D9

Accessibility & contrast

On white

5.62
#9B3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9B3EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3EB3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EB3#FFFFFF#000000##FFFFFF
##9B3EB31.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1661B6
Deuteranopia (green-blind)
#456BB0
Tritanopia (blue-blind)
#9B5373
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b3eb3;
/* rgb */ color: rgb(155, 62, 179);
/* oklch */ color: oklch(53.9% 0.191 318.8);
Tailwind
colors: {
  custom: {
    50: '#bc7aca',
    500: '#9b3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #9b3eb3;
$custom-light: #bc7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3eb3",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 287.692,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53922,
    "c": 0.19057,
    "h": 318.8
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

primary
#9B3EB3
secondary
#95C588
accent
#D8506C
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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