#8B4AE6#8B4AE6

#8B4AE6 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.223 H 298.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8B4AE6
RGBrgb(139, 74, 230)
HSLhsl(265, 76%, 60%)
HSVhsv(265, 68%, 90%)
CMYKcmyk(39.6%, 67.8%, 0%, 9.8%)
CIE-LABlab(47.10, 58.20, -69.01)
CIE-LCHlch(47.10, 90.27, 310.14°)
OKLaboklab(56.96% 0.1048 -0.197)
OKLCHoklch(56.96% 0.223 298)
XYZxyz(27.3755, 16.0993, 76.5127)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4AE6 #A5E64A
analogous
#4A57E6 #8B4AE6 #D94AE6
triadic
#8B4AE6 #E68B4A #4AE68B
tetradic
#8B4AE6 #E64A57 #A5E64A #4AE6D9
square
#8B4AE6 #E64A57 #A5E64A #4AE6D9
split-complementary
#8B4AE6 #E6D94A #57E64A
monochromatic
#4F16A0 #6A1DD5 #8B4AE6 #AD80ED #D0B6F5

Accessibility & contrast

On white

4.98
#8B4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8B4AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4AE6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4AE6#FFFFFF#000000##FFFFFF
##8B4AE61.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#756F92
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b4ae6;
/* rgb */ color: rgb(139, 74, 230);
/* oklch */ color: oklch(57.0% 0.223 298.0);
Tailwind
colors: {
  custom: {
    50: '#b381ef',
    500: '#8b4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ae6;
$custom-light: #b381ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ae6",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 265,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56962,
    "c": 0.22309,
    "h": 298
  },
  "luminance": 0.161
}

Semantic roles & 50–950 ramp

primary
#8B4AE6
secondary
#CBE4A8
accent
#F235A4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8B4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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