#8B3BBD#8B3BBD

#8B3BBD is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.2% C 0.198 H 309.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8B3BBD
RGBrgb(139, 59, 189)
HSLhsl(277, 52%, 49%)
HSVhsv(277, 69%, 74%)
CMYKcmyk(26.5%, 68.8%, 0%, 25.9%)
CIE-LABlab(41.68, 55.55, -54.22)
CIE-LCHlch(41.68, 77.63, 315.70°)
OKLaboklab(52.17% 0.1258 -0.1534)
OKLCHoklch(52.17% 0.198 309.3)
XYZxyz(21.3949, 12.2914, 49.3797)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BBD #6DBD3B
analogous
#4A3BBD #8B3BBD #BD3BAE
triadic
#8B3BBD #BD8B3B #3BBD8B
tetradic
#8B3BBD #BD4A3B #6DBD3B #3BAEBD
square
#8B3BBD #BD4A3B #6DBD3B #3BAEBD
split-complementary
#8B3BBD #AEBD3B #3BBD4A
monochromatic
#461E60 #692C8E #8B3BBD #A766CF #C295DE

Accessibility & contrast

On white

6.07
#8B3BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8B3BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BBD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BBD#FFFFFF#000000##FFFFFF
##8B3BBD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#2363BA
Tritanopia (blue-blind)
#845777
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b3bbd;
/* rgb */ color: rgb(139, 59, 189);
/* oklch */ color: oklch(52.2% 0.198 309.3);
Tailwind
colors: {
  custom: {
    50: '#b177d2',
    500: '#8b3bbd',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bbd;
$custom-light: #b177d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bbd",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 276.923,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52166,
    "c": 0.19838,
    "h": 309.3
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#8B3BBD
secondary
#A3C98B
accent
#DC4C83
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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