#8541B2#8541B2

#8541B2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.177 H 309.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8541B2
RGBrgb(133, 65, 178)
HSLhsl(276, 47%, 48%)
HSVhsv(276, 63%, 70%)
CMYKcmyk(25.3%, 63.5%, 0%, 30.2%)
CIE-LABlab(41.19, 48.89, -48.58)
CIE-LCHlch(41.19, 68.92, 315.18°)
OKLaboklab(51.41% 0.1119 -0.1371)
OKLCHoklch(51.41% 0.177 309.2)
XYZxyz(19.5975, 11.9818, 43.3912)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8541B2 #6EB241
analogous
#4C41B2 #8541B2 #B241A7
triadic
#8541B2 #B28541 #41B285
tetradic
#8541B2 #B24C41 #6EB241 #41A7B2
square
#8541B2 #B24C41 #6EB241 #41A7B2
split-complementary
#8541B2 #A7B241 #41B24C
monochromatic
#422058 #643185 #8541B2 #A268C8 #BE95D8

Accessibility & contrast

On white

6.18
#8541B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8541B2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8541B2#FFFFFF#000000##FFFFFF
##8541B21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#3162AF
Tritanopia (blue-blind)
#7F5873
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8541b2;
/* rgb */ color: rgb(133, 65, 178);
/* oklch */ color: oklch(51.4% 0.177 309.2);
Tailwind
colors: {
  custom: {
    50: '#ac7aca',
    500: '#8541b2',
    950: '#000000',
  },
}
SCSS
$custom: #8541b2;
$custom-light: #ac7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8541b2",
  "rgb": {
    "r": 133,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 276.106,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51414,
    "c": 0.17694,
    "h": 309.2
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#8541B2
secondary
#A2C48B
accent
#D65286
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8541B2

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

Preview Lab → · Contrast checker → · Palette generator →

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