#8B4AD7#8B4AD7

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

Color values

HEX#8B4AD7
RGBrgb(139, 74, 215)
HSLhsl(268, 64%, 57%)
HSVhsv(268, 66%, 84%)
CMYKcmyk(35.3%, 65.6%, 0%, 15.7%)
CIE-LABlab(46.03, 54.50, -62.22)
CIE-LCHlch(46.03, 82.71, 311.22°)
OKLaboklab(55.86% 0.1067 -0.177)
OKLCHoklch(55.86% 0.207 301.1)
XYZxyz(25.3590, 15.2927, 65.8926)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4AD7 #96D74A
analogous
#4A50D7 #8B4AD7 #D24AD7
triadic
#8B4AD7 #D78B4A #4AD78B
tetradic
#8B4AD7 #D74A50 #96D74A #4AD7D2
square
#8B4AD7 #D74A50 #96D74A #4AD7D2
split-complementary
#8B4AD7 #D7D24A #50D74A
monochromatic
#4F1E88 #6C29BB #8B4AD7 #AB7CE2 #CBAEED

Accessibility & contrast

On white

5.17
#8B4AD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8B4AD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4AD7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4AD7#FFFFFF#000000##FFFFFF
##8B4AD71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#7B6A8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4ad7;
/* rgb */ color: rgb(139, 74, 215);
/* oklch */ color: oklch(55.9% 0.207 301.1);
Tailwind
colors: {
  custom: {
    50: '#b281e4',
    500: '#8b4ad7',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ad7;
$custom-light: #b281e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ad7",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 215
  },
  "hsl": {
    "h": 267.66,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55856,
    "c": 0.20665,
    "h": 301.1
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#8B4AD7
secondary
#C1DBA2
accent
#E7419A
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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