#9B3BCC#9B3BCC

#9B3BCC is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.2% C 0.218 H 311.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9B3BCC
RGBrgb(155, 59, 204)
HSLhsl(280, 59%, 52%)
HSVhsv(280, 71%, 80%)
CMYKcmyk(24%, 71.1%, 0%, 20%)
CIE-LABlab(44.88, 62.07, -57.66)
CIE-LCHlch(44.88, 84.72, 317.11°)
OKLaboklab(55.23% 0.1448 -0.163)
OKLCHoklch(55.23% 0.218 311.6)
XYZxyz(25.9786, 14.4568, 58.5370)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BCC #6CCC3B
analogous
#533BCC #9B3BCC #CC3BB5
triadic
#9B3BCC #CC9B3B #3BCC9B
tetradic
#9B3BCC #CC533B #6CCC3B #3BB5CC
square
#9B3BCC #CC533B #6CCC3B #3BB5CC
split-complementary
#9B3BCC #B5CC3B #3BCC53
monochromatic
#541D70 #782AA0 #9B3BCC #B46CD9 #CD9CE5

Accessibility & contrast

On white

5.40
#9B3BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9B3BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BCC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BCC#FFFFFF#000000##FFFFFF
##9B3BCC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#276CC9
Tritanopia (blue-blind)
#955B80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b3bcc;
/* rgb */ color: rgb(155, 59, 204);
/* oklch */ color: oklch(55.2% 0.218 311.6);
Tailwind
colors: {
  custom: {
    50: '#bd79dc',
    500: '#9b3bcc',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bcc;
$custom-light: #bd79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bcc",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 279.724,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55233,
    "c": 0.21799,
    "h": 311.6
  },
  "luminance": 0.14456
}

Semantic roles & 50–950 ramp

primary
#9B3BCC
secondary
#A7D192
accent
#E2467B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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