#9B3BCE#9B3BCE

#9B3BCE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.220 H 311.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9B3BCE
RGBrgb(155, 59, 206)
HSLhsl(279, 60%, 52%)
HSVhsv(279, 71%, 81%)
CMYKcmyk(24.8%, 71.4%, 0%, 19.2%)
CIE-LABlab(45.02, 62.49, -58.59)
CIE-LCHlch(45.02, 85.66, 316.84°)
OKLaboklab(55.37% 0.1445 -0.1657)
OKLCHoklch(55.37% 0.22 311.1)
XYZxyz(26.2200, 14.5534, 59.8084)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BCE #6ECE3B
analogous
#523BCE #9B3BCE #CE3BB7
triadic
#9B3BCE #CE9B3B #3BCE9B
tetradic
#9B3BCE #CE523B #6ECE3B #3BB7CE
square
#9B3BCE #CE523B #6ECE3B #3BB7CE
split-complementary
#9B3BCE #B7CE3B #3BCE52
monochromatic
#541D72 #7929A3 #9B3BCE #B46CDA #CD9DE6

Accessibility & contrast

On white

5.37
#9B3BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9B3BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BCE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BCE#FFFFFF#000000##FFFFFF
##9B3BCE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#246CCB
Tritanopia (blue-blind)
#945C81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b3bce;
/* rgb */ color: rgb(155, 59, 206);
/* oklch */ color: oklch(55.4% 0.220 311.1);
Tailwind
colors: {
  custom: {
    50: '#bd79de',
    500: '#9b3bce',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bce;
$custom-light: #bd79de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bce",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 206
  },
  "hsl": {
    "h": 279.184,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55372,
    "c": 0.21988,
    "h": 311.1
  },
  "luminance": 0.14553
}

Semantic roles & 50–950 ramp

primary
#9B3BCE
secondary
#A9D392
accent
#E3457C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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