#8B4DE1#8B4DE1

#8B4DE1 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.214 H 298.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8B4DE1
RGBrgb(139, 77, 225)
HSLhsl(265, 71%, 59%)
HSVhsv(265, 66%, 88%)
CMYKcmyk(38.2%, 65.8%, 0%, 11.8%)
CIE-LABlab(47.28, 55.48, -65.89)
CIE-LCHlch(47.28, 86.14, 310.10°)
OKLaboklab(56.97% 0.1024 -0.1878)
OKLCHoklch(56.97% 0.214 298.6)
XYZxyz(26.8885, 16.2326, 72.9361)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4DE1 #A3E14D
analogous
#4D59E1 #8B4DE1 #D54DE1
triadic
#8B4DE1 #E18B4D #4DE18B
tetradic
#8B4DE1 #E14D59 #A3E14D #4DE1D5
square
#8B4DE1 #E14D59 #A3E14D #4DE1D5
split-complementary
#8B4DE1 #E1D54D #59E14D
monochromatic
#4F1A9A #6B23CE #8B4DE1 #AD81EA #CFB6F3

Accessibility & contrast

On white

4.95
#8B4DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8B4DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4DE1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4DE1#FFFFFF#000000##FFFFFF
##8B4DE11.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#776F91
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b4de1;
/* rgb */ color: rgb(139, 77, 225);
/* oklch */ color: oklch(57.0% 0.214 298.6);
Tailwind
colors: {
  custom: {
    50: '#b383eb',
    500: '#8b4de1',
    950: '#000000',
  },
}
SCSS
$custom: #8b4de1;
$custom-light: #b383eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4de1",
  "rgb": {
    "r": 139,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 265.135,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56973,
    "c": 0.2139,
    "h": 298.6
  },
  "luminance": 0.16233
}

Semantic roles & 50–950 ramp

primary
#8B4DE1
secondary
#CAE2A8
accent
#EE3AA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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