#8B4AD2#8B4AD2

#8B4AD2 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.201 H 302.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8B4AD2
RGBrgb(139, 74, 210)
HSLhsl(269, 60%, 56%)
HSVhsv(269, 65%, 82%)
CMYKcmyk(33.8%, 64.8%, 0%, 17.6%)
CIE-LABlab(45.69, 53.29, -59.91)
CIE-LCHlch(45.69, 80.18, 311.65°)
OKLaboklab(55.5% 0.1072 -0.1702)
OKLCHoklch(55.5% 0.201 302.2)
XYZxyz(24.7264, 15.0396, 62.5605)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4AD2 #91D24A
analogous
#4A4DD2 #8B4AD2 #CF4AD2
triadic
#8B4AD2 #D28B4A #4AD28B
tetradic
#8B4AD2 #D24A4D #91D24A #4AD2CF
square
#8B4AD2 #D24A4D #91D24A #4AD2CF
split-complementary
#8B4AD2 #D2CF4A #4DD24A
monochromatic
#4F2081 #6C2CB2 #8B4AD2 #AA7BDE #CAACEA

Accessibility & contrast

On white

5.24
#8B4AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8B4AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4AD2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4AD2#FFFFFF#000000##FFFFFF
##8B4AD21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#146CCF
Tritanopia (blue-blind)
#7D6888
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b4ad2;
/* rgb */ color: rgb(139, 74, 210);
/* oklch */ color: oklch(55.5% 0.201 302.2);
Tailwind
colors: {
  custom: {
    50: '#b280e1',
    500: '#8b4ad2',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ad2;
$custom-light: #b280e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ad2",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 268.676,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55499,
    "c": 0.20114,
    "h": 302.2
  },
  "luminance": 0.1504
}

Semantic roles & 50–950 ramp

primary
#8B4AD2
secondary
#BDD8A0
accent
#E34497
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B4AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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