#8545D8#8545D8

#8545D8 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.213 H 299.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8545D8
RGBrgb(133, 69, 216)
HSLhsl(266, 65%, 56%)
HSVhsv(266, 68%, 85%)
CMYKcmyk(38.4%, 68.1%, 0%, 15.3%)
CIE-LABlab(44.52, 56.01, -65.28)
CIE-LCHlch(44.52, 86.01, 310.63°)
OKLaboklab(54.64% 0.1037 -0.1862)
OKLCHoklch(54.64% 0.213 299.1)
XYZxyz(24.1925, 14.2004, 66.4188)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8545D8 #98D845
analogous
#454FD8 #8545D8 #CE45D8
triadic
#8545D8 #D88545 #45D885
tetradic
#8545D8 #D8454F #98D845 #45D8CE
square
#8545D8 #D8454F #98D845 #45D8CE
split-complementary
#8545D8 #D8CE45 #4FD845
monochromatic
#4A1C86 #6627B9 #8545D8 #A678E3 #C7AAED

Accessibility & contrast

On white

5.47
#8545D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8545D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8545D8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8545D8#FFFFFF#000000##FFFFFF
##8545D81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#726889
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8545d8;
/* rgb */ color: rgb(133, 69, 216);
/* oklch */ color: oklch(54.6% 0.213 299.1);
Tailwind
colors: {
  custom: {
    50: '#af7de5',
    500: '#8545d8',
    950: '#000000',
  },
}
SCSS
$custom: #8545d8;
$custom-light: #af7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#8545d8",
  "rgb": {
    "r": 133,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 266.122,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54638,
    "c": 0.21309,
    "h": 299.1
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#8545D8
secondary
#C0DB9E
accent
#E8409F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8545D8

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

Preview Lab → · Contrast checker → · Palette generator →

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