#9B3BCF#9B3BCF

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

Color values

HEX#9B3BCF
RGBrgb(155, 59, 207)
HSLhsl(279, 61%, 52%)
HSVhsv(279, 71%, 81%)
CMYKcmyk(25.1%, 71.5%, 0%, 18.8%)
CIE-LABlab(45.08, 62.70, -59.06)
CIE-LCHlch(45.08, 86.13, 316.71°)
OKLaboklab(55.44% 0.1444 -0.1671)
OKLCHoklch(55.44% 0.221 310.8)
XYZxyz(26.3419, 14.6021, 60.4502)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BCF #6FCF3B
analogous
#513BCF #9B3BCF #CF3BB9
triadic
#9B3BCF #CF9B3B #3BCF9B
tetradic
#9B3BCF #CF513B #6FCF3B #3BB9CF
square
#9B3BCF #CF513B #6FCF3B #3BB9CF
split-complementary
#9B3BCF #B9CF3B #3BCF51
monochromatic
#551C73 #7928A5 #9B3BCF #B46CDB #CD9DE7

Accessibility & contrast

On white

5.36
#9B3BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9B3BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BCF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BCF#FFFFFF#000000##FFFFFF
##9B3BCF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#226CCC
Tritanopia (blue-blind)
#945C82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b3bcf;
/* rgb */ color: rgb(155, 59, 207);
/* oklch */ color: oklch(55.4% 0.221 310.8);
Tailwind
colors: {
  custom: {
    50: '#bd79de',
    500: '#9b3bcf',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bcf;
$custom-light: #bd79de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bcf",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 207
  },
  "hsl": {
    "h": 278.919,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55442,
    "c": 0.22082,
    "h": 310.8
  },
  "luminance": 0.14601
}

Semantic roles & 50–950 ramp

primary
#9B3BCF
secondary
#A9D393
accent
#E4447C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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