#8541AB#8541AB

#8541AB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.169 H 311.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8541AB
RGBrgb(133, 65, 171)
HSLhsl(278, 45%, 46%)
HSVhsv(278, 62%, 67%)
CMYKcmyk(22.2%, 62%, 0%, 32.9%)
CIE-LABlab(40.75, 47.30, -45.14)
CIE-LCHlch(40.75, 65.38, 316.34°)
OKLaboklab(50.96% 0.1121 -0.127)
OKLCHoklch(50.96% 0.169 311.4)
XYZxyz(18.9125, 11.7079, 39.7837)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8541AB #67AB41
analogous
#5041AB #8541AB #AB419C
triadic
#8541AB #AB8541 #41AB85
tetradic
#8541AB #AB5041 #67AB41 #419CAB
square
#8541AB #AB5041 #67AB41 #419CAB
split-complementary
#8541AB #9CAB41 #41AB50
monochromatic
#401F52 #63307F #8541AB #A265C4 #BD91D5

Accessibility & contrast

On white

6.28
#8541AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8541AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8541AB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8541AB#FFFFFF#000000##FFFFFF
##8541AB1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAE
Deuteranopia (green-blind)
#3761A8
Tritanopia (blue-blind)
#805570
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8541ab;
/* rgb */ color: rgb(133, 65, 171);
/* oklch */ color: oklch(51.0% 0.169 311.4);
Tailwind
colors: {
  custom: {
    50: '#ac79c4',
    500: '#8541ab',
    950: '#000000',
  },
}
SCSS
$custom: #8541ab;
$custom-light: #ac79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8541ab",
  "rgb": {
    "r": 133,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 278.491,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50955,
    "c": 0.16938,
    "h": 311.4
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#8541AB
secondary
#9CC187
accent
#D55382
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8541AB

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

Preview Lab → · Contrast checker → · Palette generator →

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