#8B54EB#8B54EB

#8B54EB is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.216 H 295.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8B54EB
RGBrgb(139, 84, 235)
HSLhsl(262, 79%, 63%)
HSVhsv(262, 64%, 92%)
CMYKcmyk(40.9%, 64.3%, 0%, 7.8%)
CIE-LABlab(49.29, 54.46, -68.29)
CIE-LCHlch(49.29, 87.35, 308.57°)
OKLaboklab(58.64% 0.0939 -0.1949)
OKLCHoklch(58.64% 0.216 295.7)
XYZxyz(28.8092, 17.8272, 80.5043)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B54EB #B4EB54
analogous
#5469EB #8B54EB #D654EB
triadic
#8B54EB #EB8B54 #54EB8B
tetradic
#8B54EB #EB5469 #B4EB54 #54EBD6
square
#8B54EB #EB5469 #B4EB54 #54EBD6
split-complementary
#8B54EB #EBD654 #69EB54
monochromatic
#4D15B0 #661DE5 #8B54EB #B08BF1 #D5C2F8

Accessibility & contrast

On white

4.60
#8B54EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8B54EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B54EB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B54EB#FFFFFF#000000##FFFFFF
##8B54EB1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#727798
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b54eb;
/* rgb */ color: rgb(139, 84, 235);
/* oklch */ color: oklch(58.6% 0.216 295.7);
Tailwind
colors: {
  custom: {
    50: '#b387f2',
    500: '#8b54eb',
    950: '#000000',
  },
}
SCSS
$custom: #8b54eb;
$custom-light: #b387f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b54eb",
  "rgb": {
    "r": 139,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 261.854,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58642,
    "c": 0.21632,
    "h": 295.7
  },
  "luminance": 0.17828
}

Semantic roles & 50–950 ramp

primary
#8B54EB
secondary
#D5E9B2
accent
#DB0A8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8B54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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