#9B3EB4#9B3EB4

#9B3EB4 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.192 H 318.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9B3EB4
RGBrgb(155, 62, 180)
HSLhsl(287, 49%, 47%)
HSVhsv(287, 66%, 71%)
CMYKcmyk(13.9%, 65.6%, 0%, 29.4%)
CIE-LABlab(43.81, 55.90, -45.38)
CIE-LCHlch(43.81, 72.00, 320.93°)
OKLaboklab(53.98% 0.1433 -0.127)
OKLCHoklch(53.98% 0.192 318.4)
XYZxyz(23.4773, 13.7101, 44.5808)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EB4 #57B43E
analogous
#603EB4 #9B3EB4 #B43E92
triadic
#9B3EB4 #B49B3E #3EB49B
tetradic
#9B3EB4 #B4603E #57B43E #3E92B4
square
#9B3EB4 #B4603E #57B43E #3E92B4
split-complementary
#9B3EB4 #92B43E #3EB460
monochromatic
#4D1F59 #742E86 #9B3EB4 #B565CA #CB93DA

Accessibility & contrast

On white

5.61
#9B3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9B3EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3EB4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EB4#FFFFFF#000000##FFFFFF
##9B3EB41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1461B8
Deuteranopia (green-blind)
#446BB1
Tritanopia (blue-blind)
#9B5374
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b3eb4;
/* rgb */ color: rgb(155, 62, 180);
/* oklch */ color: oklch(54.0% 0.192 318.4);
Tailwind
colors: {
  custom: {
    50: '#bc7acb',
    500: '#9b3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #9b3eb4;
$custom-light: #bc7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3eb4",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 287.288,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53984,
    "c": 0.19151,
    "h": 318.4
  },
  "luminance": 0.13709
}

Semantic roles & 50–950 ramp

primary
#9B3EB4
secondary
#96C589
accent
#D84F6C
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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