#8B54DB#8B54DB

#8B54DB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.5% C 0.198 H 298.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8B54DB
RGBrgb(139, 84, 219)
HSLhsl(264, 65%, 59%)
HSVhsv(264, 62%, 86%)
CMYKcmyk(36.5%, 61.6%, 0%, 14.1%)
CIE-LABlab(48.19, 50.38, -61.01)
CIE-LCHlch(48.19, 79.12, 309.55°)
OKLaboklab(57.5% 0.0952 -0.1735)
OKLCHoklch(57.5% 0.198 298.8)
XYZxyz(26.6008, 16.9438, 68.8731)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B54DB #A4DB54
analogous
#5461DB #8B54DB #CE54DB
triadic
#8B54DB #DB8B54 #54DB8B
tetradic
#8B54DB #DB5461 #A4DB54 #54DBCE
square
#8B54DB #DB5461 #A4DB54 #54DBCE
split-complementary
#8B54DB #DBCE54 #61DB54
monochromatic
#4F1F95 #6A2AC8 #8B54DB #AD87E6 #D0B9F0

Accessibility & contrast

On white

4.78
#8B54DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8B54DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B54DB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B54DB#FFFFFF#000000##FFFFFF
##8B54DB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#1971D8
Tritanopia (blue-blind)
#797290
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b54db;
/* rgb */ color: rgb(139, 84, 219);
/* oklch */ color: oklch(57.5% 0.198 298.8);
Tailwind
colors: {
  custom: {
    50: '#b287e7',
    500: '#8b54db',
    950: '#000000',
  },
}
SCSS
$custom: #8b54db;
$custom-light: #b287e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b54db",
  "rgb": {
    "r": 139,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 264.444,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.1979,
    "h": 298.8
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#8B54DB
secondary
#CAE0AB
accent
#E840A4
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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