#8B4CE0#8B4CE0

#8B4CE0 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.214 H 298.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8B4CE0
RGBrgb(139, 76, 224)
HSLhsl(266, 70%, 59%)
HSVhsv(266, 66%, 88%)
CMYKcmyk(37.9%, 66.1%, 0%, 12.2%)
CIE-LABlab(47.03, 55.73, -65.74)
CIE-LCHlch(47.03, 86.18, 310.29°)
OKLaboklab(56.77% 0.1035 -0.1873)
OKLCHoklch(56.77% 0.214 298.9)
XYZxyz(26.6831, 16.0393, 72.1967)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CE0 #A1E04C
analogous
#4C57E0 #8B4CE0 #D54CE0
triadic
#8B4CE0 #E08B4C #4CE08B
tetradic
#8B4CE0 #E04C57 #A1E04C #4CE0D5
square
#8B4CE0 #E04C57 #A1E04C #4CE0D5
split-complementary
#8B4CE0 #E0D54C #57E04C
monochromatic
#4F1A97 #6B23CC #8B4CE0 #AD80E9 #CFB4F2

Accessibility & contrast

On white

4.99
#8B4CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8B4CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CE0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CE0#FFFFFF#000000##FFFFFF
##8B4CE01.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#776E90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4ce0;
/* rgb */ color: rgb(139, 76, 224);
/* oklch */ color: oklch(56.8% 0.214 298.9);
Tailwind
colors: {
  custom: {
    50: '#b382eb',
    500: '#8b4ce0',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ce0;
$custom-light: #b382eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ce0",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 224
  },
  "hsl": {
    "h": 265.541,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5677,
    "c": 0.21405,
    "h": 298.9
  },
  "luminance": 0.1604
}

Semantic roles & 50–950 ramp

primary
#8B4CE0
secondary
#C8E1A7
accent
#ED3BA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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