#8B54DC#8B54DC

#8B54DC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.199 H 298.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8B54DC
RGBrgb(139, 84, 220)
HSLhsl(264, 66%, 60%)
HSVhsv(264, 62%, 86%)
CMYKcmyk(36.8%, 61.8%, 0%, 13.7%)
CIE-LABlab(48.26, 50.63, -61.47)
CIE-LCHlch(48.26, 79.64, 309.48°)
OKLaboklab(57.57% 0.0952 -0.1748)
OKLCHoklch(57.57% 0.199 298.6)
XYZxyz(26.7328, 16.9966, 69.5685)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B54DC #A5DC54
analogous
#5461DC #8B54DC #CF54DC
triadic
#8B54DC #DC8B54 #54DC8B
tetradic
#8B54DC #DC5461 #A5DC54 #54DCCF
square
#8B54DC #DC5461 #A5DC54 #54DCCF
split-complementary
#8B54DC #DCCF54 #61DC54
monochromatic
#4F1F97 #6A29CA #8B54DC #AD87E6 #D0BAF1

Accessibility & contrast

On white

4.77
#8B54DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8B54DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B54DC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B54DC#FFFFFF#000000##FFFFFF
##8B54DC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#1671D9
Tritanopia (blue-blind)
#787290
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b54dc;
/* rgb */ color: rgb(139, 84, 220);
/* oklch */ color: oklch(57.6% 0.199 298.6);
Tailwind
colors: {
  custom: {
    50: '#b287e8',
    500: '#8b54dc',
    950: '#000000',
  },
}
SCSS
$custom: #8b54dc;
$custom-light: #b287e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b54dc",
  "rgb": {
    "r": 139,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 264.265,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5757,
    "c": 0.19905,
    "h": 298.6
  },
  "luminance": 0.16997
}

Semantic roles & 50–950 ramp

primary
#8B54DC
secondary
#CBE0AC
accent
#E93FA4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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