#9B3BCA#9B3BCA

#9B3BCA is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.216 H 312.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9B3BCA
RGBrgb(155, 59, 202)
HSLhsl(280, 57%, 51%)
HSVhsv(280, 71%, 79%)
CMYKcmyk(23.3%, 70.8%, 0%, 20.8%)
CIE-LABlab(44.75, 61.65, -56.72)
CIE-LCHlch(44.75, 83.77, 317.39°)
OKLaboklab(55.1% 0.145 -0.1602)
OKLCHoklch(55.1% 0.216 312.1)
XYZxyz(25.7403, 14.3615, 57.2818)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BCA #6ACA3B
analogous
#533BCA #9B3BCA #CA3BB1
triadic
#9B3BCA #CA9B3B #3BCA9B
tetradic
#9B3BCA #CA533B #6ACA3B #3BB1CA
square
#9B3BCA #CA533B #6ACA3B #3BB1CA
split-complementary
#9B3BCA #B1CA3B #3BCA53
monochromatic
#531E6D #782B9D #9B3BCA #B46BD7 #CC9BE4

Accessibility & contrast

On white

5.42
#9B3BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9B3BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BCA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BCA#FFFFFF#000000##FFFFFF
##9B3BCA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#2A6CC7
Tritanopia (blue-blind)
#955A7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b3bca;
/* rgb */ color: rgb(155, 59, 202);
/* oklch */ color: oklch(55.1% 0.216 312.1);
Tailwind
colors: {
  custom: {
    50: '#bd79db',
    500: '#9b3bca',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bca;
$custom-light: #bd79db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bca",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 280.28,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55095,
    "c": 0.2161,
    "h": 312.1
  },
  "luminance": 0.14361
}

Semantic roles & 50–950 ramp

primary
#9B3BCA
secondary
#A6D091
accent
#E1477A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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