#8541BB#8541BB

#8541BB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.187 H 306.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8541BB
RGBrgb(133, 65, 187)
HSLhsl(273, 48%, 49%)
HSVhsv(273, 65%, 73%)
CMYKcmyk(28.9%, 65.2%, 0%, 26.7%)
CIE-LABlab(41.78, 50.97, -52.93)
CIE-LCHlch(41.78, 73.48, 313.92°)
OKLaboklab(52.03% 0.1113 -0.1498)
OKLCHoklch(52.03% 0.187 306.6)
XYZxyz(20.5309, 12.3552, 48.3073)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8541BB #77BB41
analogous
#4841BB #8541BB #BB41B4
triadic
#8541BB #BB8541 #41BB85
tetradic
#8541BB #BB4841 #77BB41 #41B4BB
square
#8541BB #BB4841 #77BB41 #41B4BB
split-complementary
#8541BB #B4BB41 #41BB48
monochromatic
#442160 #65318E #8541BB #A26DCC #BF9ADC

Accessibility & contrast

On white

6.05
#8541BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8541BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8541BB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8541BB#FFFFFF#000000##FFFFFF
##8541BB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#2563B8
Tritanopia (blue-blind)
#7C5B78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8541bb;
/* rgb */ color: rgb(133, 65, 187);
/* oklch */ color: oklch(52.0% 0.187 306.6);
Tailwind
colors: {
  custom: {
    50: '#ad7ad0',
    500: '#8541bb',
    950: '#000000',
  },
}
SCSS
$custom: #8541bb;
$custom-light: #ad7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8541bb",
  "rgb": {
    "r": 133,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 273.443,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52026,
    "c": 0.18667,
    "h": 306.6
  },
  "luminance": 0.12355
}

Semantic roles & 50–950 ramp

primary
#8541BB
secondary
#A9C890
accent
#D8508C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8541BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8541BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva