#9B3BD1#9B3BD1

#9B3BD1 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.6% C 0.223 H 310.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9B3BD1
RGBrgb(155, 59, 209)
HSLhsl(278, 62%, 53%)
HSVhsv(278, 72%, 82%)
CMYKcmyk(25.8%, 71.8%, 0%, 18%)
CIE-LABlab(45.22, 63.12, -59.99)
CIE-LCHlch(45.22, 87.08, 316.46°)
OKLaboklab(55.58% 0.1441 -0.1698)
OKLCHoklch(55.58% 0.223 310.3)
XYZxyz(26.5879, 14.7005, 61.7461)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BD1 #71D13B
analogous
#503BD1 #9B3BD1 #D13BBC
triadic
#9B3BD1 #D19B3B #3BD19B
tetradic
#9B3BD1 #D1503B #71D13B #3BBCD1
square
#9B3BD1 #D1503B #71D13B #3BBCD1
split-complementary
#9B3BD1 #BCD13B #3BD150
monochromatic
#551C76 #7927A7 #9B3BD1 #B46DDD #CE9EE8

Accessibility & contrast

On white

5.33
#9B3BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9B3BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BD1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BD1#FFFFFF#000000##FFFFFF
##9B3BD11.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#1E6DCE
Tritanopia (blue-blind)
#945D83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b3bd1;
/* rgb */ color: rgb(155, 59, 209);
/* oklch */ color: oklch(55.6% 0.223 310.3);
Tailwind
colors: {
  custom: {
    50: '#bd79e0',
    500: '#9b3bd1',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bd1;
$custom-light: #bd79e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bd1",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 209
  },
  "hsl": {
    "h": 278.4,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55582,
    "c": 0.22271,
    "h": 310.3
  },
  "luminance": 0.147
}

Semantic roles & 50–950 ramp

primary
#9B3BD1
secondary
#ABD493
accent
#E5437D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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