#8B3BB7#8B3BB7

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

Color values

HEX#8B3BB7
RGBrgb(139, 59, 183)
HSLhsl(279, 51%, 47%)
HSVhsv(279, 68%, 72%)
CMYKcmyk(24%, 67.8%, 0%, 28.2%)
CIE-LABlab(41.27, 54.23, -51.34)
CIE-LCHlch(41.27, 74.68, 316.57°)
OKLaboklab(51.75% 0.1264 -0.145)
OKLCHoklch(51.75% 0.192 311.1)
XYZxyz(20.7571, 12.0363, 46.0203)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BB7 #67B73B
analogous
#4D3BB7 #8B3BB7 #B73BA5
triadic
#8B3BB7 #B78B3B #3BB78B
tetradic
#8B3BB7 #B74D3B #67B73B #3BA5B7
square
#8B3BB7 #B74D3B #67B73B #3BA5B7
split-complementary
#8B3BB7 #A5B73B #3BB74D
monochromatic
#451D5A #682C89 #8B3BB7 #A763CD #C191DC

Accessibility & contrast

On white

6.16
#8B3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8B3BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BB7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BB7#FFFFFF#000000##FFFFFF
##8B3BB71.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#2B63B4
Tritanopia (blue-blind)
#855574
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b3bb7;
/* rgb */ color: rgb(139, 59, 183);
/* oklch */ color: oklch(51.7% 0.192 311.1);
Tailwind
colors: {
  custom: {
    50: '#b177cd',
    500: '#8b3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bb7;
$custom-light: #b177cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bb7",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 278.71,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5175,
    "c": 0.19232,
    "h": 311.1
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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