#9B3AC6#9B3AC6

#9B3AC6 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.214 H 313.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9B3AC6
RGBrgb(155, 58, 198)
HSLhsl(282, 55%, 50%)
HSVhsv(282, 71%, 78%)
CMYKcmyk(21.7%, 70.7%, 0%, 22.4%)
CIE-LABlab(44.34, 61.23, -55.06)
CIE-LCHlch(44.34, 82.35, 318.04°)
OKLaboklab(54.72% 0.1465 -0.1554)
OKLCHoklch(54.72% 0.214 313.3)
XYZxyz(25.2219, 14.0727, 54.8028)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3AC6 #65C63A
analogous
#553AC6 #9B3AC6 #C63AAB
triadic
#9B3AC6 #C69B3A #3AC69B
tetradic
#9B3AC6 #C6553A #65C63A #3AABC6
square
#9B3AC6 #C6553A #65C63A #3AABC6
split-complementary
#9B3AC6 #ABC63A #3AC655
monochromatic
#511E68 #762C97 #9B3AC6 #B369D4 #CB99E1

Accessibility & contrast

On white

5.51
#9B3AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B3AC6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3AC6#FFFFFF#000000##FFFFFF
##9B3AC61.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#2F6BC3
Tritanopia (blue-blind)
#97587C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b3ac6;
/* rgb */ color: rgb(155, 58, 198);
/* oklch */ color: oklch(54.7% 0.214 313.3);
Tailwind
colors: {
  custom: {
    50: '#bd79d8',
    500: '#9b3ac6',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ac6;
$custom-light: #bd79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ac6",
  "rgb": {
    "r": 155,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 281.571,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54719,
    "c": 0.21352,
    "h": 313.3
  },
  "luminance": 0.14072
}

Semantic roles & 50–950 ramp

primary
#9B3AC6
secondary
#A2CD8F
accent
#DE4977
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B3AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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