#8B3BC2#8B3BC2

#8B3BC2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.203 H 308.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8B3BC2
RGBrgb(139, 59, 194)
HSLhsl(276, 53%, 50%)
HSVhsv(276, 70%, 76%)
CMYKcmyk(28.4%, 69.6%, 0%, 23.9%)
CIE-LABlab(42.02, 56.67, -56.59)
CIE-LCHlch(42.02, 80.08, 315.04°)
OKLaboklab(52.52% 0.1252 -0.1604)
OKLCHoklch(52.52% 0.203 308)
XYZxyz(21.9470, 12.5123, 52.2874)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BC2 #72C23B
analogous
#483BC2 #8B3BC2 #C23BB5
triadic
#8B3BC2 #C28B3B #3BC28B
tetradic
#8B3BC2 #C2483B #72C23B #3BB5C2
square
#8B3BC2 #C2483B #72C23B #3BB5C2
split-complementary
#8B3BC2 #B5C23B #3BC248
monochromatic
#481E64 #692D93 #8B3BC2 #A769D1 #C298E0

Accessibility & contrast

On white

6.00
#8B3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8B3BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BC2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BC2#FFFFFF#000000##FFFFFF
##8B3BC21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#1964BF
Tritanopia (blue-blind)
#82597A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b3bc2;
/* rgb */ color: rgb(139, 59, 194);
/* oklch */ color: oklch(52.5% 0.203 308.0);
Tailwind
colors: {
  custom: {
    50: '#b177d5',
    500: '#8b3bc2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bc2;
$custom-light: #b177d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bc2",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 275.556,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5252,
    "c": 0.20344,
    "h": 308
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#8B3BC2
secondary
#A7CB8E
accent
#DD4B86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3BC2

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

Preview Lab → · Contrast checker → · Palette generator →

#8B3BC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva