#8B4FE1#8B4FE1

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

Color values

HEX#8B4FE1
RGBrgb(139, 79, 225)
HSLhsl(265, 71%, 60%)
HSVhsv(265, 65%, 88%)
CMYKcmyk(38.2%, 64.9%, 0%, 11.8%)
CIE-LABlab(47.65, 54.47, -65.30)
CIE-LCHlch(47.65, 85.04, 309.84°)
OKLaboklab(57.24% 0.1003 -0.1861)
OKLCHoklch(57.24% 0.211 298.3)
XYZxyz(27.0306, 16.5168, 72.9835)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FE1 #A5E14F
analogous
#4F5CE1 #8B4FE1 #D44FE1
triadic
#8B4FE1 #E18B4F #4FE18B
tetradic
#8B4FE1 #E14F5C #A5E14F #4FE1D4
square
#8B4FE1 #E14F5C #A5E14F #4FE1D4
split-complementary
#8B4FE1 #E1D44F #5CE14F
monochromatic
#4F1A9B #6A23CF #8B4FE1 #AD83EA #D0B8F3

Accessibility & contrast

On white

4.88
#8B4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8B4FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FE1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FE1#FFFFFF#000000##FFFFFF
##8B4FE11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#777191
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b4fe1;
/* rgb */ color: rgb(139, 79, 225);
/* oklch */ color: oklch(57.2% 0.211 298.3);
Tailwind
colors: {
  custom: {
    50: '#b384eb',
    500: '#8b4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fe1;
$custom-light: #b384eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fe1",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 264.658,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57237,
    "c": 0.21136,
    "h": 298.3
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#8B4FE1
secondary
#CBE2AA
accent
#EE3AA4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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