#8B4EBE#8B4EBE

#8B4EBE is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.7% C 0.173 H 306.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8B4EBE
RGBrgb(139, 78, 190)
HSLhsl(273, 46%, 53%)
HSVhsv(273, 59%, 75%)
CMYKcmyk(26.8%, 58.9%, 0%, 25.5%)
CIE-LABlab(45.16, 46.44, -49.20)
CIE-LCHlch(45.16, 67.66, 313.34°)
OKLaboklab(54.7% 0.1033 -0.1388)
OKLCHoklch(54.7% 0.173 306.7)
XYZxyz(22.6642, 14.6557, 50.3401)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4EBE #81BE4E
analogous
#534EBE #8B4EBE #BE4EB9
triadic
#8B4EBE #BE8B4E #4EBE8B
tetradic
#8B4EBE #BE534E #81BE4E #4EB9BE
square
#8B4EBE #BE534E #81BE4E #4EB9BE
split-complementary
#8B4EBE #B9BE4E #4EBE53
monochromatic
#4C276A #6C3897 #8B4EBE #A87BCE #C6A8DF

Accessibility & contrast

On white

5.34
#8B4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8B4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4EBE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4EBE#FFFFFF#000000##FFFFFF
##8B4EBE1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C2
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#83647E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b4ebe;
/* rgb */ color: rgb(139, 78, 190);
/* oklch */ color: oklch(54.7% 0.173 306.7);
Tailwind
colors: {
  custom: {
    50: '#b082d2',
    500: '#8b4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ebe;
$custom-light: #b082d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ebe",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 272.679,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54704,
    "c": 0.17304,
    "h": 306.7
  },
  "luminance": 0.14655
}

Semantic roles & 50–950 ramp

primary
#8B4EBE
secondary
#B2CC9C
accent
#D6528E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8B4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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