#8541AF#8541AF

#8541AF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.174 H 310.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8541AF
RGBrgb(133, 65, 175)
HSLhsl(277, 46%, 47%)
HSVhsv(277, 63%, 69%)
CMYKcmyk(24%, 62.9%, 0%, 31.4%)
CIE-LABlab(41.00, 48.20, -47.11)
CIE-LCHlch(41.00, 67.40, 315.66°)
OKLaboklab(51.22% 0.112 -0.1328)
OKLCHoklch(51.22% 0.174 310.1)
XYZxyz(19.2995, 11.8627, 41.8222)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8541AF #6BAF41
analogous
#4E41AF #8541AF #AF41A2
triadic
#8541AF #AF8541 #41AF85
tetradic
#8541AF #AF4E41 #6BAF41 #41A2AF
square
#8541AF #AF4E41 #6BAF41 #41A2AF
split-complementary
#8541AF #A2AF41 #41AF4E
monochromatic
#412056 #633082 #8541AF #A267C6 #BD93D7

Accessibility & contrast

On white

6.23
#8541AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8541AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8541AF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8541AF#FFFFFF#000000##FFFFFF
##8541AF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB2
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#7F5672
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8541af;
/* rgb */ color: rgb(133, 65, 175);
/* oklch */ color: oklch(51.2% 0.174 310.1);
Tailwind
colors: {
  custom: {
    50: '#ac7ac7',
    500: '#8541af',
    950: '#000000',
  },
}
SCSS
$custom: #8541af;
$custom-light: #ac7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8541af",
  "rgb": {
    "r": 133,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 277.091,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51215,
    "c": 0.1737,
    "h": 310.1
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#8541AF
secondary
#9FC289
accent
#D55284
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8541AF

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

Preview Lab → · Contrast checker → · Palette generator →

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