#8B4ED6#8B4ED6

#8B4ED6 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.200 H 300.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8B4ED6
RGBrgb(139, 78, 214)
HSLhsl(267, 62%, 57%)
HSVhsv(267, 64%, 84%)
CMYKcmyk(35%, 63.6%, 0%, 16.1%)
CIE-LABlab(46.70, 52.24, -60.56)
CIE-LCHlch(46.70, 79.98, 310.78°)
OKLaboklab(56.32% 0.1024 -0.1721)
OKLCHoklch(56.32% 0.2 300.7)
XYZxyz(25.5065, 15.7926, 65.3098)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4ED6 #99D64E
analogous
#4E55D6 #8B4ED6 #CF4ED6
triadic
#8B4ED6 #D68B4E #4ED68B
tetradic
#8B4ED6 #D64E55 #99D64E #4ED6CF
square
#8B4ED6 #D64E55 #99D64E #4ED6CF
split-complementary
#8B4ED6 #D6CF4E #55D64E
monochromatic
#4F208A #6C2BBB #8B4ED6 #AC80E2 #CCB1ED

Accessibility & contrast

On white

5.05
#8B4ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8B4ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4ED6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4ED6#FFFFFF#000000##FFFFFF
##8B4ED61.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#146ED3
Tritanopia (blue-blind)
#7B6C8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4ed6;
/* rgb */ color: rgb(139, 78, 214);
/* oklch */ color: oklch(56.3% 0.200 300.7);
Tailwind
colors: {
  custom: {
    50: '#b283e3',
    500: '#8b4ed6',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ed6;
$custom-light: #b283e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ed6",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 214
  },
  "hsl": {
    "h": 266.912,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56316,
    "c": 0.20028,
    "h": 300.7
  },
  "luminance": 0.15793
}

Semantic roles & 50–950 ramp

primary
#8B4ED6
secondary
#C3DBA4
accent
#E5429C
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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