#8541B8#8541B8

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

Color values

HEX#8541B8
RGBrgb(133, 65, 184)
HSLhsl(274, 48%, 49%)
HSVhsv(274, 65%, 72%)
CMYKcmyk(27.7%, 64.7%, 0%, 27.8%)
CIE-LABlab(41.58, 50.27, -51.49)
CIE-LCHlch(41.58, 71.96, 314.32°)
OKLaboklab(51.82% 0.1115 -0.1456)
OKLCHoklch(51.82% 0.183 307.5)
XYZxyz(20.2131, 12.2281, 46.6335)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8541B8 #74B841
analogous
#4A41B8 #8541B8 #B841B0
triadic
#8541B8 #B88541 #41B885
tetradic
#8541B8 #B84A41 #74B841 #41B0B8
square
#8541B8 #B84A41 #74B841 #41B0B8
split-complementary
#8541B8 #B0B841 #41B84A
monochromatic
#44215E #64318B #8541B8 #A26BCB #BE99DB

Accessibility & contrast

On white

6.09
#8541B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8541B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8541B8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8541B8#FFFFFF#000000##FFFFFF
##8541B81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#2963B5
Tritanopia (blue-blind)
#7D5A77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8541b8;
/* rgb */ color: rgb(133, 65, 184);
/* oklch */ color: oklch(51.8% 0.183 307.5);
Tailwind
colors: {
  custom: {
    50: '#ac7ace',
    500: '#8541b8',
    950: '#000000',
  },
}
SCSS
$custom: #8541b8;
$custom-light: #ac7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#8541b8",
  "rgb": {
    "r": 133,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 274.286,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.18343,
    "h": 307.5
  },
  "luminance": 0.12228
}

Semantic roles & 50–950 ramp

primary
#8541B8
secondary
#A6C78E
accent
#D7508A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8541B8

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

Preview Lab → · Contrast checker → · Palette generator →

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