#8B3DB5#8B3DB5

#8B3DB5 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.188 H 311.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8B3DB5
RGBrgb(139, 61, 181)
HSLhsl(279, 50%, 47%)
HSVhsv(279, 66%, 71%)
CMYKcmyk(23.2%, 66.3%, 0%, 29%)
CIE-LABlab(41.47, 52.87, -49.84)
CIE-LCHlch(41.47, 72.66, 316.69°)
OKLaboklab(51.85% 0.1243 -0.1406)
OKLCHoklch(51.85% 0.188 311.5)
XYZxyz(20.6552, 12.1632, 44.9667)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DB5 #67B53D
analogous
#4F3DB5 #8B3DB5 #B53DA3
triadic
#8B3DB5 #B58B3D #3DB58B
tetradic
#8B3DB5 #B54F3D #67B53D #3DA3B5
square
#8B3DB5 #B54F3D #67B53D #3DA3B5
split-complementary
#8B3DB5 #A3B53D #3DB54F
monochromatic
#451E59 #682E87 #8B3DB5 #A764CB #C192DA

Accessibility & contrast

On white

6.12
#8B3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8B3DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DB5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DB5#FFFFFF#000000##FFFFFF
##8B3DB51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#3063B2
Tritanopia (blue-blind)
#865574
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b3db5;
/* rgb */ color: rgb(139, 61, 181);
/* oklch */ color: oklch(51.9% 0.188 311.5);
Tailwind
colors: {
  custom: {
    50: '#b178cc',
    500: '#8b3db5',
    950: '#000000',
  },
}
SCSS
$custom: #8b3db5;
$custom-light: #b178cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3db5",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 279,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.18763,
    "h": 311.5
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#8B3DB5
secondary
#9EC588
accent
#D94F7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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