#8B4ED9#8B4ED9

#8B4ED9 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.204 H 300.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8B4ED9
RGBrgb(139, 78, 217)
HSLhsl(266, 65%, 58%)
HSVhsv(266, 64%, 85%)
CMYKcmyk(35.9%, 64.1%, 0%, 14.9%)
CIE-LABlab(46.91, 52.99, -61.95)
CIE-LCHlch(46.91, 81.52, 310.54°)
OKLaboklab(56.53% 0.1021 -0.1762)
OKLCHoklch(56.53% 0.204 300.1)
XYZxyz(25.8932, 15.9473, 67.3462)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4ED9 #9CD94E
analogous
#4E56D9 #8B4ED9 #D04ED9
triadic
#8B4ED9 #D98B4E #4ED98B
tetradic
#8B4ED9 #D94E56 #9CD94E #4ED9D0
square
#8B4ED9 #D94E56 #9CD94E #4ED9D0
split-complementary
#8B4ED9 #D9D04E #56D94E
monochromatic
#4F1F8E #6C29C0 #8B4ED9 #AC80E4 #CDB3EF

Accessibility & contrast

On white

5.01
#8B4ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8B4ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4ED9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4ED9#FFFFFF#000000##FFFFFF
##8B4ED91.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#076ED6
Tritanopia (blue-blind)
#7A6D8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4ed9;
/* rgb */ color: rgb(139, 78, 217);
/* oklch */ color: oklch(56.5% 0.204 300.1);
Tailwind
colors: {
  custom: {
    50: '#b283e6',
    500: '#8b4ed9',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ed9;
$custom-light: #b283e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ed9",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 266.331,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56528,
    "c": 0.20366,
    "h": 300.1
  },
  "luminance": 0.15948
}

Semantic roles & 50–950 ramp

primary
#8B4ED9
secondary
#C5DDA6
accent
#E8409E
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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