#8B54E6#8B54E6

#8B54E6 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.3% C 0.211 H 296.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8B54E6
RGBrgb(139, 84, 230)
HSLhsl(263, 74%, 62%)
HSVhsv(263, 63%, 90%)
CMYKcmyk(39.6%, 63.5%, 0%, 9.8%)
CIE-LABlab(48.94, 53.18, -66.04)
CIE-LCHlch(48.94, 84.79, 308.84°)
OKLaboklab(58.28% 0.0944 -0.1882)
OKLCHoklch(58.28% 0.211 296.6)
XYZxyz(28.0970, 17.5423, 76.7532)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B54E6 #AFE654
analogous
#5466E6 #8B54E6 #D454E6
triadic
#8B54E6 #E68B54 #54E68B
tetradic
#8B54E6 #E65466 #AFE654 #54E6D4
square
#8B54E6 #E65466 #AFE654 #54E6D4
split-complementary
#8B54E6 #E6D454 #66E654
monochromatic
#4E18A7 #6720DD #8B54E6 #AF89EE #D3BFF6

Accessibility & contrast

On white

4.66
#8B54E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8B54E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B54E6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B54E6#FFFFFF#000000##FFFFFF
##8B54E61.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#747596
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b54e6;
/* rgb */ color: rgb(139, 84, 230);
/* oklch */ color: oklch(58.3% 0.211 296.6);
Tailwind
colors: {
  custom: {
    50: '#b387ef',
    500: '#8b54e6',
    950: '#000000',
  },
}
SCSS
$custom: #8b54e6;
$custom-light: #b387ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8b54e6",
  "rgb": {
    "r": 139,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 262.603,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58279,
    "c": 0.21059,
    "h": 296.6
  },
  "luminance": 0.17543
}

Semantic roles & 50–950 ramp

primary
#8B54E6
secondary
#D2E6B0
accent
#D70F8B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8B54E6

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

Preview Lab → · Contrast checker → · Palette generator →

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