#8B54CB#8B54CB

#8B54CB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.4% C 0.179 H 302.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8B54CB
RGBrgb(139, 84, 203)
HSLhsl(268, 53%, 56%)
HSVhsv(268, 59%, 80%)
CMYKcmyk(31.5%, 58.6%, 0%, 20.4%)
CIE-LABlab(47.16, 46.38, -53.52)
CIE-LCHlch(47.16, 70.82, 310.91°)
OKLaboklab(56.42% 0.0958 -0.1515)
OKLCHoklch(56.42% 0.179 302.3)
XYZxyz(24.5948, 16.1414, 58.3082)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B54CB #94CB54
analogous
#5459CB #8B54CB #C754CB
triadic
#8B54CB #CB8B54 #54CB8B
tetradic
#8B54CB #CB5459 #94CB54 #54CBC7
square
#8B54CB #CB5459 #94CB54 #54CBC7
split-complementary
#8B54CB #CBC754 #59CB54
monochromatic
#4F267E #6C35AD #8B54CB #AB83D9 #CBB2E8

Accessibility & contrast

On white

4.97
#8B54CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8B54CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B54CB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B54CB#FFFFFF#000000##FFFFFF
##8B54CB1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6FCF
Deuteranopia (green-blind)
#356FC8
Tritanopia (blue-blind)
#7F6C87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b54cb;
/* rgb */ color: rgb(139, 84, 203);
/* oklch */ color: oklch(56.4% 0.179 302.3);
Tailwind
colors: {
  custom: {
    50: '#b186db',
    500: '#8b54cb',
    950: '#000000',
  },
}
SCSS
$custom: #8b54cb;
$custom-light: #b186db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b54cb",
  "rgb": {
    "r": 139,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 267.731,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56422,
    "c": 0.1792,
    "h": 302.3
  },
  "luminance": 0.16141
}

Semantic roles & 50–950 ramp

primary
#8B54CB
secondary
#BFD6A5
accent
#DD4B99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B54CB

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

Preview Lab → · Contrast checker → · Palette generator →

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