#9B3AC5#9B3AC5

#9B3AC5 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.213 H 313.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9B3AC5
RGBrgb(155, 58, 197)
HSLhsl(282, 55%, 50%)
HSVhsv(282, 71%, 77%)
CMYKcmyk(21.3%, 70.6%, 0%, 22.7%)
CIE-LABlab(44.27, 61.03, -54.59)
CIE-LCHlch(44.27, 81.88, 318.19°)
OKLaboklab(54.65% 0.1466 -0.154)
OKLCHoklch(54.65% 0.213 313.6)
XYZxyz(25.1069, 14.0267, 54.1974)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3AC5 #64C53A
analogous
#563AC5 #9B3AC5 #C53AA9
triadic
#9B3AC5 #C59B3A #3AC59B
tetradic
#9B3AC5 #C5563A #64C53A #3AA9C5
square
#9B3AC5 #C5563A #64C53A #3AA9C5
split-complementary
#9B3AC5 #A9C53A #3AC556
monochromatic
#511E66 #762C96 #9B3AC5 #B369D3 #CB99E1

Accessibility & contrast

On white

5.52
#9B3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9B3AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3AC5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3AC5#FFFFFF#000000##FFFFFF
##9B3AC51.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#306BC2
Tritanopia (blue-blind)
#97577C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b3ac5;
/* rgb */ color: rgb(155, 58, 197);
/* oklch */ color: oklch(54.7% 0.213 313.6);
Tailwind
colors: {
  custom: {
    50: '#bd78d7',
    500: '#9b3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ac5;
$custom-light: #bd78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ac5",
  "rgb": {
    "r": 155,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 281.871,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.54651,
    "c": 0.21258,
    "h": 313.6
  },
  "luminance": 0.14026
}

Semantic roles & 50–950 ramp

primary
#9B3AC5
secondary
#A1CD8E
accent
#DE4A77
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9B3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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