#8B4AD8#8B4AD8

#8B4AD8 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.208 H 300.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8B4AD8
RGBrgb(139, 74, 216)
HSLhsl(267, 65%, 57%)
HSVhsv(267, 66%, 85%)
CMYKcmyk(35.6%, 65.7%, 0%, 15.3%)
CIE-LABlab(46.10, 54.75, -62.68)
CIE-LCHlch(46.10, 83.22, 311.14°)
OKLaboklab(55.93% 0.1066 -0.1783)
OKLCHoklch(55.93% 0.208 300.9)
XYZxyz(25.4879, 15.3442, 66.5714)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4AD8 #97D84A
analogous
#4A50D8 #8B4AD8 #D24AD8
triadic
#8B4AD8 #D88B4A #4AD88B
tetradic
#8B4AD8 #D84A50 #97D84A #4AD8D2
square
#8B4AD8 #D84A50 #97D84A #4AD8D2
split-complementary
#8B4AD8 #D8D24A #50D84A
monochromatic
#4F1E8A #6C29BC #8B4AD8 #AB7CE3 #CCAFEE

Accessibility & contrast

On white

5.16
#8B4AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8B4AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4AD8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4AD8#FFFFFF#000000##FFFFFF
##8B4AD81.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#006CD5
Tritanopia (blue-blind)
#7A6A8B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4ad8;
/* rgb */ color: rgb(139, 74, 216);
/* oklch */ color: oklch(55.9% 0.208 300.9);
Tailwind
colors: {
  custom: {
    50: '#b281e5',
    500: '#8b4ad8',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ad8;
$custom-light: #b281e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ad8",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 216
  },
  "hsl": {
    "h": 267.465,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.20776,
    "h": 300.9
  },
  "luminance": 0.15344
}

Semantic roles & 50–950 ramp

primary
#8B4AD8
secondary
#C1DCA2
accent
#E8409B
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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