#8545A2#8545A2

#8545A2 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.0% C 0.153 H 314.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8545A2
RGBrgb(133, 69, 162)
HSLhsl(281, 40%, 45%)
HSVhsv(281, 57%, 64%)
CMYKcmyk(17.9%, 57.4%, 0%, 36.5%)
CIE-LABlab(40.98, 43.23, -39.41)
CIE-LCHlch(40.98, 58.50, 317.65°)
OKLaboklab(50.95% 0.1067 -0.1103)
OKLCHoklch(50.95% 0.153 314)
XYZxyz(18.3215, 11.8519, 35.4979)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8545A2 #62A245
analogous
#5645A2 #8545A2 #A24591
triadic
#8545A2 #A28545 #45A285
tetradic
#8545A2 #A25645 #62A245 #4591A2
square
#8545A2 #A25645 #62A245 #4591A2
split-complementary
#8545A2 #91A245 #45A256
monochromatic
#3F204C #623377 #8545A2 #A366BE #BD91D0

Accessibility & contrast

On white

6.23
#8545A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8545A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8545A2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8545A2#FFFFFF#000000##FFFFFF
##8545A21.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)
#2B5DA5
Deuteranopia (green-blind)
#4262A0
Tritanopia (blue-blind)
#83556D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8545a2;
/* rgb */ color: rgb(133, 69, 162);
/* oklch */ color: oklch(51.0% 0.153 314.0);
Tailwind
colors: {
  custom: {
    50: '#ab7cbe',
    500: '#8545a2',
    950: '#000000',
  },
}
SCSS
$custom: #8545a2;
$custom-light: #ab7cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8545a2",
  "rgb": {
    "r": 133,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 281.29,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.15343,
    "h": 314
  },
  "luminance": 0.11851
}

Semantic roles & 50–950 ramp

primary
#8545A2
secondary
#97BC87
accent
#D0587D
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #8545A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8545A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva