#8B54CD#8B54CD

#8B54CD is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.182 H 301.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8B54CD
RGBrgb(139, 84, 205)
HSLhsl(267, 55%, 57%)
HSVhsv(267, 59%, 80%)
CMYKcmyk(32.2%, 59%, 0%, 19.6%)
CIE-LABlab(47.28, 46.87, -54.47)
CIE-LCHlch(47.28, 71.86, 310.72°)
OKLaboklab(56.55% 0.0958 -0.1542)
OKLCHoklch(56.55% 0.182 301.8)
XYZxyz(24.8347, 16.2373, 59.5715)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B54CD #96CD54
analogous
#545ACD #8B54CD #C854CD
triadic
#8B54CD #CD8B54 #54CD8B
tetradic
#8B54CD #CD545A #96CD54 #54CDC8
square
#8B54CD #CD545A #96CD54 #54CDC8
split-complementary
#8B54CD #CDC854 #5ACD54
monochromatic
#4F2681 #6C34B0 #8B54CD #AB83DB #CBB3E9

Accessibility & contrast

On white

4.94
#8B54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8B54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B54CD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B54CD#FFFFFF#000000##FFFFFF
##8B54CD1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156FD1
Deuteranopia (green-blind)
#3270CA
Tritanopia (blue-blind)
#7E6D88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b54cd;
/* rgb */ color: rgb(139, 84, 205);
/* oklch */ color: oklch(56.6% 0.182 301.8);
Tailwind
colors: {
  custom: {
    50: '#b186dd',
    500: '#8b54cd',
    950: '#000000',
  },
}
SCSS
$custom: #8b54cd;
$custom-light: #b186dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b54cd",
  "rgb": {
    "r": 139,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 267.273,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56553,
    "c": 0.18156,
    "h": 301.8
  },
  "luminance": 0.16237
}

Semantic roles & 50–950 ramp

primary
#8B54CD
secondary
#C1D7A6
accent
#DE4A9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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