#8B4ED8#8B4ED8

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

Color values

HEX#8B4ED8
RGBrgb(139, 78, 216)
HSLhsl(267, 64%, 58%)
HSVhsv(267, 64%, 85%)
CMYKcmyk(35.6%, 63.9%, 0%, 15.3%)
CIE-LABlab(46.84, 52.74, -61.49)
CIE-LCHlch(46.84, 81.01, 310.62°)
OKLaboklab(56.46% 0.1022 -0.1749)
OKLCHoklch(56.46% 0.203 300.3)
XYZxyz(25.7635, 15.8954, 66.6632)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4ED8 #9BD84E
analogous
#4E56D8 #8B4ED8 #D04ED8
triadic
#8B4ED8 #D88B4E #4ED88B
tetradic
#8B4ED8 #D84E56 #9BD84E #4ED8D0
square
#8B4ED8 #D84E56 #9BD84E #4ED8D0
split-complementary
#8B4ED8 #D8D04E #56D84E
monochromatic
#4F1F8D #6C2ABF #8B4ED8 #AC80E3 #CDB2EE

Accessibility & contrast

On white

5.02
#8B4ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8B4ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4ED8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4ED8#FFFFFF#000000##FFFFFF
##8B4ED81.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#0D6ED5
Tritanopia (blue-blind)
#7A6D8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4ed8;
/* rgb */ color: rgb(139, 78, 216);
/* oklch */ color: oklch(56.5% 0.203 300.3);
Tailwind
colors: {
  custom: {
    50: '#b283e5',
    500: '#8b4ed8',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ed8;
$custom-light: #b283e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ed8",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 266.522,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.20254,
    "h": 300.3
  },
  "luminance": 0.15896
}

Semantic roles & 50–950 ramp

primary
#8B4ED8
secondary
#C4DDA5
accent
#E7419E
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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