#9B3AC8#9B3AC8

#9B3AC8 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.215 H 312.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9B3AC8
RGBrgb(155, 58, 200)
HSLhsl(281, 56%, 51%)
HSVhsv(281, 71%, 78%)
CMYKcmyk(22.5%, 71%, 0%, 21.6%)
CIE-LABlab(44.47, 61.64, -56.01)
CIE-LCHlch(44.47, 83.29, 317.74°)
OKLaboklab(54.86% 0.1462 -0.1581)
OKLCHoklch(54.86% 0.215 312.8)
XYZxyz(25.4541, 14.1655, 56.0257)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3AC8 #67C83A
analogous
#543AC8 #9B3AC8 #C83AAE
triadic
#9B3AC8 #C89B3A #3AC89B
tetradic
#9B3AC8 #C8543A #67C83A #3AAEC8
square
#9B3AC8 #C8543A #67C83A #3AAEC8
split-complementary
#9B3AC8 #AEC83A #3AC854
monochromatic
#521E6A #772B9A #9B3AC8 #B36AD5 #CC9AE3

Accessibility & contrast

On white

5.48
#9B3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9B3AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3AC8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3AC8#FFFFFF#000000##FFFFFF
##9B3AC81.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#2C6BC5
Tritanopia (blue-blind)
#96597D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b3ac8;
/* rgb */ color: rgb(155, 58, 200);
/* oklch */ color: oklch(54.9% 0.215 312.8);
Tailwind
colors: {
  custom: {
    50: '#bd79d9',
    500: '#9b3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ac8;
$custom-light: #bd79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ac8",
  "rgb": {
    "r": 155,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 280.986,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54855,
    "c": 0.21539,
    "h": 312.8
  },
  "luminance": 0.14165
}

Semantic roles & 50–950 ramp

primary
#9B3AC8
secondary
#A3CE8F
accent
#E04878
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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