#8541B9#8541B9

#8541B9 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.185 H 307.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8541B9
RGBrgb(133, 65, 185)
HSLhsl(274, 48%, 49%)
HSVhsv(274, 65%, 73%)
CMYKcmyk(28.1%, 64.9%, 0%, 27.5%)
CIE-LABlab(41.64, 50.51, -51.97)
CIE-LCHlch(41.64, 72.47, 314.18°)
OKLaboklab(51.89% 0.1115 -0.147)
OKLCHoklch(51.89% 0.185 307.2)
XYZxyz(20.3183, 12.2702, 47.1875)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8541B9 #75B941
analogous
#4941B9 #8541B9 #B941B1
triadic
#8541B9 #B98541 #41B985
tetradic
#8541B9 #B94941 #75B941 #41B1B9
square
#8541B9 #B94941 #75B941 #41B1B9
split-complementary
#8541B9 #B1B941 #41B949
monochromatic
#44215E #64318C #8541B9 #A26CCB #BF99DB

Accessibility & contrast

On white

6.08
#8541B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8541B9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8541B9#FFFFFF#000000##FFFFFF
##8541B91.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#2863B6
Tritanopia (blue-blind)
#7D5A77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8541b9;
/* rgb */ color: rgb(133, 65, 185);
/* oklch */ color: oklch(51.9% 0.185 307.2);
Tailwind
colors: {
  custom: {
    50: '#ac7acf',
    500: '#8541b9',
    950: '#000000',
  },
}
SCSS
$custom: #8541b9;
$custom-light: #ac7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#8541b9",
  "rgb": {
    "r": 133,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 274,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51888,
    "c": 0.18452,
    "h": 307.2
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#8541B9
secondary
#A7C78F
accent
#D8508B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8541B9

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

Preview Lab → · Contrast checker → · Palette generator →

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