#8541BC#8541BC

#8541BC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.188 H 306.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8541BC
RGBrgb(133, 65, 188)
HSLhsl(273, 49%, 50%)
HSVhsv(273, 65%, 74%)
CMYKcmyk(29.3%, 65.4%, 0%, 26.3%)
CIE-LABlab(41.84, 51.21, -53.40)
CIE-LCHlch(41.84, 73.99, 313.80°)
OKLaboklab(52.1% 0.1112 -0.1513)
OKLCHoklch(52.1% 0.188 306.3)
XYZxyz(20.6383, 12.3982, 48.8730)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8541BC #78BC41
analogous
#4841BC #8541BC #BC41B6
triadic
#8541BC #BC8541 #41BC85
tetradic
#8541BC #BC4841 #78BC41 #41B6BC
square
#8541BC #BC4841 #78BC41 #41B6BC
split-complementary
#8541BC #B6BC41 #41BC48
monochromatic
#452261 #65318F #8541BC #A26ECD #BF9BDC

Accessibility & contrast

On white

6.04
#8541BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8541BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8541BC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8541BC#FFFFFF#000000##FFFFFF
##8541BC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#2363B9
Tritanopia (blue-blind)
#7C5B79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8541bc;
/* rgb */ color: rgb(133, 65, 188);
/* oklch */ color: oklch(52.1% 0.188 306.3);
Tailwind
colors: {
  custom: {
    50: '#ad7ad1',
    500: '#8541bc',
    950: '#000000',
  },
}
SCSS
$custom: #8541bc;
$custom-light: #ad7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8541bc",
  "rgb": {
    "r": 133,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 273.171,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.18776,
    "h": 306.3
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#8541BC
secondary
#A9C990
accent
#D8508D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8541BC

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

Preview Lab → · Contrast checker → · Palette generator →

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