#8B54E5#8B54E5

#8B54E5 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.2% C 0.209 H 296.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8B54E5
RGBrgb(139, 84, 229)
HSLhsl(263, 74%, 61%)
HSVhsv(263, 63%, 90%)
CMYKcmyk(39.3%, 63.3%, 0%, 10.2%)
CIE-LABlab(48.87, 52.92, -65.58)
CIE-LCHlch(48.87, 84.27, 308.90°)
OKLaboklab(58.21% 0.0945 -0.1869)
OKLCHoklch(58.21% 0.209 296.8)
XYZxyz(27.9570, 17.4863, 76.0158)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B54E5 #AEE554
analogous
#5466E5 #8B54E5 #D454E5
triadic
#8B54E5 #E58B54 #54E58B
tetradic
#8B54E5 #E55466 #AEE554 #54E5D4
square
#8B54E5 #E55466 #AEE554 #54E5D4
split-complementary
#8B54E5 #E5D454 #66E554
monochromatic
#4E19A5 #6821DB #8B54E5 #AF89ED #D3BEF5

Accessibility & contrast

On white

4.67
#8B54E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8B54E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B54E5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B54E5#FFFFFF#000000##FFFFFF
##8B54E51.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#757595
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b54e5;
/* rgb */ color: rgb(139, 84, 229);
/* oklch */ color: oklch(58.2% 0.209 296.8);
Tailwind
colors: {
  custom: {
    50: '#b387ee',
    500: '#8b54e5',
    950: '#000000',
  },
}
SCSS
$custom: #8b54e5;
$custom-light: #b387ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8b54e5",
  "rgb": {
    "r": 139,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 262.759,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58207,
    "c": 0.20945,
    "h": 296.8
  },
  "luminance": 0.17487
}

Semantic roles & 50–950 ramp

primary
#8B54E5
secondary
#D1E6AF
accent
#D6108B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B54E5

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

Preview Lab → · Contrast checker → · Palette generator →

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