#8B3BB8#8B3BB8

#8B3BB8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.193 H 310.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8B3BB8
RGBrgb(139, 59, 184)
HSLhsl(278, 51%, 48%)
HSVhsv(278, 68%, 72%)
CMYKcmyk(24.5%, 67.9%, 0%, 27.8%)
CIE-LABlab(41.34, 54.45, -51.83)
CIE-LCHlch(41.34, 75.17, 316.41°)
OKLaboklab(51.82% 0.1263 -0.1464)
OKLCHoklch(51.82% 0.193 310.8)
XYZxyz(20.8615, 12.0781, 46.5704)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BB8 #68B83B
analogous
#4D3BB8 #8B3BB8 #B83BA6
triadic
#8B3BB8 #B88B3B #3BB88B
tetradic
#8B3BB8 #B84D3B #68B83B #3BA6B8
square
#8B3BB8 #B84D3B #68B83B #3BA6B8
split-complementary
#8B3BB8 #A6B83B #3BB84D
monochromatic
#451D5B #682C8A #8B3BB8 #A763CD #C192DC

Accessibility & contrast

On white

6.15
#8B3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8B3BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BB8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BB8#FFFFFF#000000##FFFFFF
##8B3BB81.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#2A63B5
Tritanopia (blue-blind)
#855575
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b3bb8;
/* rgb */ color: rgb(139, 59, 184);
/* oklch */ color: oklch(51.8% 0.193 310.8);
Tailwind
colors: {
  custom: {
    50: '#b177ce',
    500: '#8b3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bb8;
$custom-light: #b177ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bb8",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 278.4,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.19333,
    "h": 310.8
  },
  "luminance": 0.12078
}

Semantic roles & 50–950 ramp

primary
#8B3BB8
secondary
#9FC788
accent
#DB4D80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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