#8B4ADD#8B4ADD

#8B4ADD is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.213 H 299.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8B4ADD
RGBrgb(139, 74, 221)
HSLhsl(267, 68%, 58%)
HSVhsv(267, 67%, 87%)
CMYKcmyk(37.1%, 66.5%, 0%, 13.3%)
CIE-LABlab(46.45, 55.97, -64.96)
CIE-LCHlch(46.45, 85.75, 310.75°)
OKLaboklab(56.29% 0.106 -0.185)
OKLCHoklch(56.29% 0.213 299.8)
XYZxyz(26.1442, 15.6067, 70.0276)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4ADD #9CDD4A
analogous
#4A52DD #8B4ADD #D54ADD
triadic
#8B4ADD #DD8B4A #4ADD8B
tetradic
#8B4ADD #DD4A52 #9CDD4A #4ADDD5
square
#8B4ADD #DD4A52 #9CDD4A #4ADDD5
split-complementary
#8B4ADD #DDD54A #52DD4A
monochromatic
#4F1B91 #6C25C5 #8B4ADD #AC7EE7 #CDB1F0

Accessibility & contrast

On white

5.10
#8B4ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8B4ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4ADD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4ADD#FFFFFF#000000##FFFFFF
##8B4ADD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#796C8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4add;
/* rgb */ color: rgb(139, 74, 221);
/* oklch */ color: oklch(56.3% 0.213 299.8);
Tailwind
colors: {
  custom: {
    50: '#b381e8',
    500: '#8b4add',
    950: '#000000',
  },
}
SCSS
$custom: #8b4add;
$custom-light: #b381e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4add",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 221
  },
  "hsl": {
    "h": 266.531,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56292,
    "c": 0.21325,
    "h": 299.8
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#8B4ADD
secondary
#C5DFA4
accent
#EB3D9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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