#8541B3#8541B3

#8541B3 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.178 H 308.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8541B3
RGBrgb(133, 65, 179)
HSLhsl(276, 47%, 48%)
HSVhsv(276, 64%, 70%)
CMYKcmyk(25.7%, 63.7%, 0%, 29.8%)
CIE-LABlab(41.25, 49.12, -49.07)
CIE-LCHlch(41.25, 69.43, 315.03°)
OKLaboklab(51.48% 0.1118 -0.1385)
OKLCHoklch(51.48% 0.178 308.9)
XYZxyz(19.6982, 12.0221, 43.9219)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8541B3 #6FB341
analogous
#4C41B3 #8541B3 #B341A8
triadic
#8541B3 #B38541 #41B385
tetradic
#8541B3 #B34C41 #6FB341 #41A8B3
square
#8541B3 #B34C41 #6FB341 #41A8B3
split-complementary
#8541B3 #A8B341 #41B34C
monochromatic
#422059 #643186 #8541B3 #A269C8 #BE96D9

Accessibility & contrast

On white

6.17
#8541B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8541B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8541B3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8541B3#FFFFFF#000000##FFFFFF
##8541B31.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#2F62B0
Tritanopia (blue-blind)
#7E5874
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8541b3;
/* rgb */ color: rgb(133, 65, 179);
/* oklch */ color: oklch(51.5% 0.178 308.9);
Tailwind
colors: {
  custom: {
    50: '#ac7aca',
    500: '#8541b3',
    950: '#000000',
  },
}
SCSS
$custom: #8541b3;
$custom-light: #ac7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8541b3",
  "rgb": {
    "r": 133,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 275.789,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51481,
    "c": 0.17802,
    "h": 308.9
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#8541B3
secondary
#A2C48B
accent
#D65187
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8541B3

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

Preview Lab → · Contrast checker → · Palette generator →

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