#8B4FE0#8B4FE0

#8B4FE0 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.210 H 298.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8B4FE0
RGBrgb(139, 79, 224)
HSLhsl(265, 70%, 59%)
HSVhsv(265, 65%, 88%)
CMYKcmyk(37.9%, 64.7%, 0%, 12.2%)
CIE-LABlab(47.58, 54.22, -64.85)
CIE-LCHlch(47.58, 84.53, 309.90°)
OKLaboklab(57.17% 0.1004 -0.1847)
OKLCHoklch(57.17% 0.21 298.5)
XYZxyz(26.8946, 16.4624, 72.2672)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FE0 #A4E04F
analogous
#4F5CE0 #8B4FE0 #D44FE0
triadic
#8B4FE0 #E08B4F #4FE08B
tetradic
#8B4FE0 #E04F5C #A4E04F #4FE0D4
square
#8B4FE0 #E04F5C #A4E04F #4FE0D4
split-complementary
#8B4FE0 #E0D44F #5CE04F
monochromatic
#4F1B9A #6A24CE #8B4FE0 #AD83E9 #D0B7F2

Accessibility & contrast

On white

4.89
#8B4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8B4FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FE0
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FE0#FFFFFF#000000##FFFFFF
##8B4FE01.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b4fe0;
/* rgb */ color: rgb(139, 79, 224);
/* oklch */ color: oklch(57.2% 0.210 298.5);
Tailwind
colors: {
  custom: {
    50: '#b384eb',
    500: '#8b4fe0',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fe0;
$custom-light: #b384eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fe0",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 264.828,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57165,
    "c": 0.21024,
    "h": 298.5
  },
  "luminance": 0.16463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B4FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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