#8B54E7#8B54E7

#8B54E7 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.4% C 0.212 H 296.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8B54E7
RGBrgb(139, 84, 231)
HSLhsl(262, 75%, 62%)
HSVhsv(262, 64%, 91%)
CMYKcmyk(39.8%, 63.6%, 0%, 9.4%)
CIE-LABlab(49.01, 53.44, -66.49)
CIE-LCHlch(49.01, 85.30, 308.79°)
OKLaboklab(58.35% 0.0943 -0.1896)
OKLCHoklch(58.35% 0.212 296.4)
XYZxyz(28.2378, 17.5986, 77.4949)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B54E7 #B0E754
analogous
#5467E7 #8B54E7 #D554E7
triadic
#8B54E7 #E78B54 #54E78B
tetradic
#8B54E7 #E75467 #B0E754 #54E7D5
square
#8B54E7 #E75467 #B0E754 #54E7D5
split-complementary
#8B54E7 #E7D554 #67E754
monochromatic
#4E18A9 #671FDF #8B54E7 #AF8AEF #D4BFF6

Accessibility & contrast

On white

4.65
#8B54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8B54E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B54E7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B54E7#FFFFFF#000000##FFFFFF
##8B54E71.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#747696
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b54e7;
/* rgb */ color: rgb(139, 84, 231);
/* oklch */ color: oklch(58.4% 0.212 296.4);
Tailwind
colors: {
  custom: {
    50: '#b387ef',
    500: '#8b54e7',
    950: '#000000',
  },
}
SCSS
$custom: #8b54e7;
$custom-light: #b387ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8b54e7",
  "rgb": {
    "r": 139,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 262.449,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58351,
    "c": 0.21174,
    "h": 296.4
  },
  "luminance": 0.17599
}

Semantic roles & 50–950 ramp

primary
#8B54E7
secondary
#D2E7B0
accent
#D80E8C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8B54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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