#8B4BE0#8B4BE0

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

Color values

HEX#8B4BE0
RGBrgb(139, 75, 224)
HSLhsl(266, 71%, 59%)
HSVhsv(266, 67%, 88%)
CMYKcmyk(37.9%, 66.5%, 0%, 12.2%)
CIE-LABlab(46.85, 56.22, -66.03)
CIE-LCHlch(46.85, 86.72, 310.42°)
OKLaboklab(56.64% 0.1046 -0.1882)
OKLCHoklch(56.64% 0.215 299.1)
XYZxyz(26.6147, 15.9026, 72.1739)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BE0 #A0E04B
analogous
#4B55E0 #8B4BE0 #D54BE0
triadic
#8B4BE0 #E08B4B #4BE08B
tetradic
#8B4BE0 #E04B55 #A0E04B #4BE0D5
square
#8B4BE0 #E04B55 #A0E04B #4BE0D5
split-complementary
#8B4BE0 #E0D54B #55E04B
monochromatic
#501A97 #6B23CB #8B4BE0 #AD7FE9 #CEB3F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B4BE0#FFFFFF#000000##FFFFFF
##8B4BE01.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)
#006FE5
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#776E8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4be0;
/* rgb */ color: rgb(139, 75, 224);
/* oklch */ color: oklch(56.6% 0.215 299.1);
Tailwind
colors: {
  custom: {
    50: '#b381eb',
    500: '#8b4be0',
    950: '#000000',
  },
}
SCSS
$custom: #8b4be0;
$custom-light: #b381eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4be0",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 224
  },
  "hsl": {
    "h": 265.772,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56641,
    "c": 0.2153,
    "h": 299.1
  },
  "luminance": 0.15903
}

Semantic roles & 50–950 ramp

primary
#8B4BE0
secondary
#C8E1A6
accent
#ED3AA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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