#8D54BB#8D54BB

#8D54BB is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.161 H 307.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8D54BB
RGBrgb(141, 84, 187)
HSLhsl(273, 43%, 53%)
HSVhsv(273, 55%, 73%)
CMYKcmyk(24.6%, 55.1%, 0%, 26.7%)
CIE-LABlab(46.43, 43.02, -45.41)
CIE-LCHlch(46.43, 62.55, 313.45°)
OKLaboklab(55.63% 0.098 -0.1276)
OKLCHoklch(55.63% 0.161 307.5)
XYZxyz(23.1227, 15.5915, 48.7954)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54BB #82BB54
analogous
#5954BB #8D54BB #BB54B5
triadic
#8D54BB #BB8D54 #54BB8D
tetradic
#8D54BB #BB5954 #82BB54 #54B5BB
square
#8D54BB #BB5954 #82BB54 #54B5BB
split-complementary
#8D54BB #B5BB54 #54BB59
monochromatic
#4E2A6A #6E3C96 #8D54BB #AA80CC #C7ACDE

Accessibility & contrast

On white

5.10
#8D54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8D54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54BB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54BB#FFFFFF#000000##FFFFFF
##8D54BB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBE
Deuteranopia (green-blind)
#466FB8
Tritanopia (blue-blind)
#86677F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d54bb;
/* rgb */ color: rgb(141, 84, 187);
/* oklch */ color: oklch(55.6% 0.161 307.5);
Tailwind
colors: {
  custom: {
    50: '#b186d0',
    500: '#8d54bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d54bb;
$custom-light: #b186d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54bb",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 273.204,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55634,
    "c": 0.16094,
    "h": 307.5
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#8D54BB
secondary
#B3CC9F
accent
#D3558D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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