#8B4EE1#8B4EE1

#8B4EE1 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.213 H 298.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8B4EE1
RGBrgb(139, 78, 225)
HSLhsl(265, 71%, 59%)
HSVhsv(265, 65%, 88%)
CMYKcmyk(38.2%, 65.3%, 0%, 11.8%)
CIE-LABlab(47.46, 54.98, -65.60)
CIE-LCHlch(47.46, 85.59, 309.97°)
OKLaboklab(57.11% 0.1013 -0.1869)
OKLCHoklch(57.11% 0.213 298.5)
XYZxyz(26.9590, 16.3736, 72.9596)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4EE1 #A4E14E
analogous
#4E5BE1 #8B4EE1 #D44EE1
triadic
#8B4EE1 #E18B4E #4EE18B
tetradic
#8B4EE1 #E14E5B #A4E14E #4EE1D4
square
#8B4EE1 #E14E5B #A4E14E #4EE1D4
split-complementary
#8B4EE1 #E1D44E #5BE14E
monochromatic
#4F1A9A #6A23CF #8B4EE1 #AD82EA #D0B7F3

Accessibility & contrast

On white

4.91
#8B4EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8B4EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4EE1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4EE1#FFFFFF#000000##FFFFFF
##8B4EE11.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#777091
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b4ee1;
/* rgb */ color: rgb(139, 78, 225);
/* oklch */ color: oklch(57.1% 0.213 298.5);
Tailwind
colors: {
  custom: {
    50: '#b383eb',
    500: '#8b4ee1',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ee1;
$custom-light: #b383eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ee1",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 264.898,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57105,
    "c": 0.21264,
    "h": 298.5
  },
  "luminance": 0.16374
}

Semantic roles & 50–950 ramp

primary
#8B4EE1
secondary
#CAE2A9
accent
#EE3AA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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