#8541C7#8541C7

#8541C7 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.9% C 0.200 H 303.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8541C7
RGBrgb(133, 65, 199)
HSLhsl(270, 54%, 52%)
HSVhsv(270, 67%, 78%)
CMYKcmyk(33.2%, 67.3%, 0%, 22%)
CIE-LABlab(42.60, 53.81, -58.59)
CIE-LCHlch(42.60, 79.55, 312.56°)
OKLaboklab(52.88% 0.1101 -0.1665)
OKLCHoklch(52.88% 0.2 303.5)
XYZxyz(21.8696, 12.8907, 55.3578)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8541C7 #83C741
analogous
#4241C7 #8541C7 #C741C6
triadic
#8541C7 #C78541 #41C785
tetradic
#8541C7 #C74241 #83C741 #41C6C7
square
#8541C7 #C74241 #83C741 #41C6C7
split-complementary
#8541C7 #C6C741 #41C742
monochromatic
#47206D #662E9D #8541C7 #A370D5 #C2A0E3

Accessibility & contrast

On white

5.87
#8541C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8541C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8541C7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8541C7#FFFFFF#000000##FFFFFF
##8541C71.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0564C4
Tritanopia (blue-blind)
#785F7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8541c7;
/* rgb */ color: rgb(133, 65, 199);
/* oklch */ color: oklch(52.9% 0.200 303.5);
Tailwind
colors: {
  custom: {
    50: '#ad7ad9',
    500: '#8541c7',
    950: '#000000',
  },
}
SCSS
$custom: #8541c7;
$custom-light: #ad7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8541c7",
  "rgb": {
    "r": 133,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 270.448,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52878,
    "c": 0.19964,
    "h": 303.5
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#8541C7
secondary
#B1CF95
accent
#DE4A93
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8541C7

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

Preview Lab → · Contrast checker → · Palette generator →

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