#8B3BD5#8B3BD5

#8B3BD5 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.9% C 0.223 H 303.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8B3BD5
RGBrgb(139, 59, 213)
HSLhsl(271, 65%, 53%)
HSVhsv(271, 72%, 84%)
CMYKcmyk(34.7%, 72.3%, 0%, 16.5%)
CIE-LABlab(43.39, 60.99, -65.36)
CIE-LCHlch(43.39, 89.40, 313.02°)
OKLaboklab(53.93% 0.1222 -0.1861)
OKLCHoklch(53.93% 0.223 303.3)
XYZxyz(24.2189, 13.4210, 64.2525)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BD5 #85D53B
analogous
#3E3BD5 #8B3BD5 #D53BD2
triadic
#8B3BD5 #D58B3B #3BD58B
tetradic
#8B3BD5 #D53E3B #85D53B #3BD2D5
square
#8B3BD5 #D53E3B #85D53B #3BD2D5
split-complementary
#8B3BD5 #D2D53B #3BD53E
monochromatic
#4D1A7B #6C25AE #8B3BD5 #A96DE0 #C7A0EB

Accessibility & contrast

On white

5.70
#8B3BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8B3BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BD5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BD5#FFFFFF#000000##FFFFFF
##8B3BD51.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#7C6185
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b3bd5;
/* rgb */ color: rgb(139, 59, 213);
/* oklch */ color: oklch(53.9% 0.223 303.3);
Tailwind
colors: {
  custom: {
    50: '#b378e3',
    500: '#8b3bd5',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bd5;
$custom-light: #b378e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bd5",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 271.169,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53926,
    "c": 0.22265,
    "h": 303.3
  },
  "luminance": 0.13421
}

Semantic roles & 50–950 ramp

primary
#8B3BD5
secondary
#B5D795
accent
#E84091
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8B3BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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