#8545C5#8545C5

#8545C5 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.192 H 303.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8545C5
RGBrgb(133, 69, 197)
HSLhsl(270, 52%, 52%)
HSVhsv(270, 65%, 77%)
CMYKcmyk(32.5%, 65%, 0%, 22.7%)
CIE-LABlab(43.17, 51.36, -56.50)
CIE-LCHlch(43.17, 76.36, 312.27°)
OKLaboklab(53.25% 0.1059 -0.1604)
OKLCHoklch(53.25% 0.192 303.4)
XYZxyz(21.8767, 13.2740, 54.2221)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8545C5 #85C545
analogous
#4545C5 #8545C5 #C545C5
triadic
#8545C5 #C58545 #45C585
tetradic
#8545C5 #C54545 #85C545 #45C5C5
square
#8545C5 #C54545 #85C545 #45C5C5
split-complementary
#8545C5 #C5C545 #45C545
monochromatic
#48226D #66319C #8545C5 #A474D4 #C2A2E2

Accessibility & contrast

On white

5.75
#8545C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8545C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8545C5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8545C5#FFFFFF#000000##FFFFFF
##8545C51.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#1A66C2
Tritanopia (blue-blind)
#79617F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8545c5;
/* rgb */ color: rgb(133, 69, 197);
/* oklch */ color: oklch(53.2% 0.192 303.4);
Tailwind
colors: {
  custom: {
    50: '#ad7dd7',
    500: '#8545c5',
    950: '#000000',
  },
}
SCSS
$custom: #8545c5;
$custom-light: #ad7dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8545c5",
  "rgb": {
    "r": 133,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 270,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.1922,
    "h": 303.4
  },
  "luminance": 0.13274
}

Semantic roles & 50–950 ramp

primary
#8545C5
secondary
#B3CF97
accent
#DC4C94
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8545C5

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

Preview Lab → · Contrast checker → · Palette generator →

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