#8541B7#8541B7

#8541B7 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.182 H 307.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8541B7
RGBrgb(133, 65, 183)
HSLhsl(275, 48%, 49%)
HSVhsv(275, 64%, 72%)
CMYKcmyk(27.3%, 64.5%, 0%, 28.2%)
CIE-LABlab(41.51, 50.04, -51.01)
CIE-LCHlch(41.51, 71.45, 314.45°)
OKLaboklab(51.75% 0.1116 -0.1442)
OKLCHoklch(51.75% 0.182 307.7)
XYZxyz(20.1086, 12.1863, 46.0834)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8541B7 #73B741
analogous
#4A41B7 #8541B7 #B741AE
triadic
#8541B7 #B78541 #41B785
tetradic
#8541B7 #B74A41 #73B741 #41AEB7
square
#8541B7 #B74A41 #73B741 #41AEB7
split-complementary
#8541B7 #AEB741 #41B74A
monochromatic
#43215D #64318A #8541B7 #A26BCA #BE98DA

Accessibility & contrast

On white

6.11
#8541B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8541B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8541B7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8541B7#FFFFFF#000000##FFFFFF
##8541B71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#2B63B4
Tritanopia (blue-blind)
#7D5976
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8541b7;
/* rgb */ color: rgb(133, 65, 183);
/* oklch */ color: oklch(51.8% 0.182 307.7);
Tailwind
colors: {
  custom: {
    50: '#ac7acd',
    500: '#8541b7',
    950: '#000000',
  },
}
SCSS
$custom: #8541b7;
$custom-light: #ac7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#8541b7",
  "rgb": {
    "r": 133,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 274.576,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51751,
    "c": 0.18235,
    "h": 307.7
  },
  "luminance": 0.12186
}

Semantic roles & 50–950 ramp

primary
#8541B7
secondary
#A6C68E
accent
#D7518A
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8541B7

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

Preview Lab → · Contrast checker → · Palette generator →

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