#8B54CF#8B54CF

#8B54CF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.7% C 0.184 H 301.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8B54CF
RGBrgb(139, 84, 207)
HSLhsl(267, 56%, 57%)
HSVhsv(267, 59%, 81%)
CMYKcmyk(32.9%, 59.4%, 0%, 18.8%)
CIE-LABlab(47.41, 47.37, -55.41)
CIE-LCHlch(47.41, 72.90, 310.53°)
OKLaboklab(56.68% 0.0957 -0.157)
OKLCHoklch(56.68% 0.184 301.4)
XYZxyz(25.0776, 16.3345, 60.8511)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B54CF #98CF54
analogous
#545BCF #8B54CF #C854CF
triadic
#8B54CF #CF8B54 #54CF8B
tetradic
#8B54CF #CF545B #98CF54 #54CFC8
square
#8B54CF #CF545B #98CF54 #54CFC8
split-complementary
#8B54CF #CFC854 #5BCF54
monochromatic
#4F2584 #6C32B3 #8B54CF #AB84DC #CCB4EA

Accessibility & contrast

On white

4.92
#8B54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8B54CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B54CF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B54CF#FFFFFF#000000##FFFFFF
##8B54CF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F70D3
Deuteranopia (green-blind)
#2F70CC
Tritanopia (blue-blind)
#7D6D89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b54cf;
/* rgb */ color: rgb(139, 84, 207);
/* oklch */ color: oklch(56.7% 0.184 301.4);
Tailwind
colors: {
  custom: {
    50: '#b186de',
    500: '#8b54cf',
    950: '#000000',
  },
}
SCSS
$custom: #8b54cf;
$custom-light: #b186de;
$custom-dark: #000000;
JSON
{
  "hex": "#8b54cf",
  "rgb": {
    "r": 139,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 266.829,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56685,
    "c": 0.1839,
    "h": 301.4
  },
  "luminance": 0.16335
}

Semantic roles & 50–950 ramp

primary
#8B54CF
secondary
#C2D8A6
accent
#DF489C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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