#8B3BB6#8B3BB6

#8B3BB6 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.191 H 311.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8B3BB6
RGBrgb(139, 59, 182)
HSLhsl(279, 51%, 47%)
HSVhsv(279, 68%, 71%)
CMYKcmyk(23.6%, 67.6%, 0%, 28.6%)
CIE-LABlab(41.21, 54.01, -50.86)
CIE-LCHlch(41.21, 74.19, 316.72°)
OKLaboklab(51.68% 0.1265 -0.1436)
OKLCHoklch(51.68% 0.191 311.4)
XYZxyz(20.6534, 11.9948, 45.4741)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BB6 #66B63B
analogous
#4D3BB6 #8B3BB6 #B63BA4
triadic
#8B3BB6 #B68B3B #3BB68B
tetradic
#8B3BB6 #B64D3B #66B63B #3BA4B6
square
#8B3BB6 #B64D3B #66B63B #3BA4B6
split-complementary
#8B3BB6 #A4B63B #3BB64D
monochromatic
#441D5A #682C88 #8B3BB6 #A762CC #C190DB

Accessibility & contrast

On white

6.18
#8B3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8B3BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BB6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BB6#FFFFFF#000000##FFFFFF
##8B3BB61.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#2D63B3
Tritanopia (blue-blind)
#865474
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b3bb6;
/* rgb */ color: rgb(139, 59, 182);
/* oklch */ color: oklch(51.7% 0.191 311.4);
Tailwind
colors: {
  custom: {
    50: '#b177cd',
    500: '#8b3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bb6;
$custom-light: #b177cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bb6",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 279.024,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51682,
    "c": 0.19131,
    "h": 311.4
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#8B3BB6
secondary
#9DC687
accent
#DB4D7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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