#8B3AD5#8B3AD5

#8B3AD5 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.224 H 303.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8B3AD5
RGBrgb(139, 58, 213)
HSLhsl(271, 65%, 53%)
HSVhsv(271, 73%, 84%)
CMYKcmyk(34.7%, 72.8%, 0%, 16.5%)
CIE-LABlab(43.24, 61.42, -65.60)
CIE-LCHlch(43.24, 89.87, 313.11°)
OKLaboklab(53.82% 0.1231 -0.1869)
OKLCHoklch(53.82% 0.224 303.4)
XYZxyz(24.1680, 13.3192, 64.2355)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3AD5 #84D53A
analogous
#3D3AD5 #8B3AD5 #D53AD1
triadic
#8B3AD5 #D58B3A #3AD58B
tetradic
#8B3AD5 #D53D3A #84D53A #3AD1D5
square
#8B3AD5 #D53D3A #84D53A #3AD1D5
split-complementary
#8B3AD5 #D1D53A #3AD53D
monochromatic
#4C1A7A #6C25AD #8B3AD5 #A96CE0 #C69FEB

Accessibility & contrast

On white

5.73
#8B3AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8B3AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3AD5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3AD5#FFFFFF#000000##FFFFFF
##8B3AD51.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b3ad5;
/* rgb */ color: rgb(139, 58, 213);
/* oklch */ color: oklch(53.8% 0.224 303.4);
Tailwind
colors: {
  custom: {
    50: '#b378e3',
    500: '#8b3ad5',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ad5;
$custom-light: #b378e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ad5",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 213
  },
  "hsl": {
    "h": 271.355,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.22375,
    "h": 303.4
  },
  "luminance": 0.13319
}

Semantic roles & 50–950 ramp

primary
#8B3AD5
secondary
#B4D794
accent
#E84090
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8B3AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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