#8B54D4#8B54D4

#8B54D4 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.190 H 300.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8B54D4
RGBrgb(139, 84, 212)
HSLhsl(266, 60%, 58%)
HSVhsv(266, 60%, 83%)
CMYKcmyk(34.4%, 60.4%, 0%, 16.9%)
CIE-LABlab(47.73, 48.62, -57.76)
CIE-LCHlch(47.73, 75.50, 310.09°)
OKLaboklab(57.02% 0.0956 -0.1639)
OKLCHoklch(57.02% 0.19 300.2)
XYZxyz(25.6986, 16.5829, 64.1215)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B54D4 #9DD454
analogous
#545DD4 #8B54D4 #CB54D4
triadic
#8B54D4 #D48B54 #54D48B
tetradic
#8B54D4 #D4545D #9DD454 #54D4CB
square
#8B54D4 #D4545D #9DD454 #54D4CB
split-complementary
#8B54D4 #D4CB54 #5DD454
monochromatic
#4F238B #6C2FBC #8B54D4 #AC85E0 #CDB6ED

Accessibility & contrast

On white

4.86
#8B54D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8B54D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B54D4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B54D4#FFFFFF#000000##FFFFFF
##8B54D41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#2870D1
Tritanopia (blue-blind)
#7B6F8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b54d4;
/* rgb */ color: rgb(139, 84, 212);
/* oklch */ color: oklch(57.0% 0.190 300.2);
Tailwind
colors: {
  custom: {
    50: '#b187e2',
    500: '#8b54d4',
    950: '#000000',
  },
}
SCSS
$custom: #8b54d4;
$custom-light: #b187e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b54d4",
  "rgb": {
    "r": 139,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 265.781,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57021,
    "c": 0.18975,
    "h": 300.2
  },
  "luminance": 0.16583
}

Semantic roles & 50–950 ramp

primary
#8B54D4
secondary
#C5DBA8
accent
#E3459F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B54D4

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

Preview Lab → · Contrast checker → · Palette generator →

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