#8B3BC4#8B3BC4

#8B3BC4 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.205 H 307.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8B3BC4
RGBrgb(139, 59, 196)
HSLhsl(275, 54%, 50%)
HSVhsv(275, 70%, 77%)
CMYKcmyk(29.1%, 69.9%, 0%, 23.1%)
CIE-LABlab(42.16, 57.12, -57.53)
CIE-LCHlch(42.16, 81.06, 314.80°)
OKLaboklab(52.66% 0.1249 -0.1631)
OKLCHoklch(52.66% 0.205 307.4)
XYZxyz(22.1731, 12.6027, 53.4783)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BC4 #74C43B
analogous
#463BC4 #8B3BC4 #C43BB9
triadic
#8B3BC4 #C48B3B #3BC48B
tetradic
#8B3BC4 #C4463B #74C43B #3BB9C4
square
#8B3BC4 #C4463B #74C43B #3BB9C4
split-complementary
#8B3BC4 #B9C43B #3BC446
monochromatic
#481F66 #6A2D95 #8B3BC4 #A76AD2 #C399E0

Accessibility & contrast

On white

5.97
#8B3BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8B3BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BC4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BC4#FFFFFF#000000##FFFFFF
##8B3BC41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#1364C1
Tritanopia (blue-blind)
#825A7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b3bc4;
/* rgb */ color: rgb(139, 59, 196);
/* oklch */ color: oklch(52.7% 0.205 307.4);
Tailwind
colors: {
  custom: {
    50: '#b277d7',
    500: '#8b3bc4',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bc4;
$custom-light: #b277d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bc4",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 275.036,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.52663,
    "c": 0.20546,
    "h": 307.4
  },
  "luminance": 0.12602
}

Semantic roles & 50–950 ramp

primary
#8B3BC4
secondary
#A8CC8F
accent
#DD4B88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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