#8541AE#8541AE

#8541AE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.173 H 310.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8541AE
RGBrgb(133, 65, 174)
HSLhsl(277, 46%, 47%)
HSVhsv(277, 63%, 68%)
CMYKcmyk(23.6%, 62.6%, 0%, 31.8%)
CIE-LABlab(40.93, 47.98, -46.62)
CIE-LCHlch(40.93, 66.90, 315.82°)
OKLaboklab(51.15% 0.112 -0.1313)
OKLCHoklch(51.15% 0.173 310.5)
XYZxyz(19.2017, 11.8235, 41.3068)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8541AE #6AAE41
analogous
#4E41AE #8541AE #AE41A1
triadic
#8541AE #AE8541 #41AE85
tetradic
#8541AE #AE4E41 #6AAE41 #41A1AE
square
#8541AE #AE4E41 #6AAE41 #41A1AE
split-complementary
#8541AE #A1AE41 #41AE4E
monochromatic
#412055 #633081 #8541AE #A266C6 #BD93D7

Accessibility & contrast

On white

6.24
#8541AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8541AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8541AE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8541AE#FFFFFF#000000##FFFFFF
##8541AE1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5DB1
Deuteranopia (green-blind)
#3562AB
Tritanopia (blue-blind)
#805671
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8541ae;
/* rgb */ color: rgb(133, 65, 174);
/* oklch */ color: oklch(51.1% 0.173 310.5);
Tailwind
colors: {
  custom: {
    50: '#ac7ac7',
    500: '#8541ae',
    950: '#000000',
  },
}
SCSS
$custom: #8541ae;
$custom-light: #ac7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8541ae",
  "rgb": {
    "r": 133,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 277.431,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51149,
    "c": 0.17262,
    "h": 310.5
  },
  "luminance": 0.11823
}

Semantic roles & 50–950 ramp

primary
#8541AE
secondary
#9EC289
accent
#D55384
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8541AE

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

Preview Lab → · Contrast checker → · Palette generator →

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