#8B3AD2#8B3AD2

#8B3AD2 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.221 H 304.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8B3AD2
RGBrgb(139, 58, 210)
HSLhsl(272, 63%, 53%)
HSVhsv(272, 72%, 82%)
CMYKcmyk(33.8%, 72.4%, 0%, 17.6%)
CIE-LABlab(43.02, 60.73, -64.24)
CIE-LCHlch(43.02, 88.40, 313.39°)
OKLaboklab(53.59% 0.1237 -0.1829)
OKLCHoklch(53.59% 0.221 304.1)
XYZxyz(23.7907, 13.1683, 62.2487)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3AD2 #81D23A
analogous
#3F3AD2 #8B3AD2 #D23ACD
triadic
#8B3AD2 #D28B3A #3AD28B
tetradic
#8B3AD2 #D23F3A #81D23A #3ACDD2
square
#8B3AD2 #D23F3A #81D23A #3ACDD2
split-complementary
#8B3AD2 #CDD23A #3AD23F
monochromatic
#4C1B77 #6C26A8 #8B3AD2 #A86CDD #C69EE9

Accessibility & contrast

On white

5.78
#8B3AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8B3AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3AD2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3AD2#FFFFFF#000000##FFFFFF
##8B3AD21.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#7D5F83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b3ad2;
/* rgb */ color: rgb(139, 58, 210);
/* oklch */ color: oklch(53.6% 0.221 304.1);
Tailwind
colors: {
  custom: {
    50: '#b377e1',
    500: '#8b3ad2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ad2;
$custom-light: #b377e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ad2",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 271.974,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5359,
    "c": 0.22075,
    "h": 304.1
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#8B3AD2
secondary
#B2D593
accent
#E6428F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B3AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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