#8545D7#8545D7

#8545D7 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.6% C 0.212 H 299.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8545D7
RGBrgb(133, 69, 215)
HSLhsl(266, 65%, 56%)
HSVhsv(266, 68%, 84%)
CMYKcmyk(38.1%, 67.9%, 0%, 15.7%)
CIE-LABlab(44.45, 55.77, -64.82)
CIE-LCHlch(44.45, 85.51, 310.71°)
OKLaboklab(54.56% 0.1038 -0.1848)
OKLCHoklch(54.56% 0.212 299.3)
XYZxyz(24.0637, 14.1488, 65.7400)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8545D7 #97D745
analogous
#454ED7 #8545D7 #CE45D7
triadic
#8545D7 #D78545 #45D785
tetradic
#8545D7 #D7454E #97D745 #45D7CE
square
#8545D7 #D7454E #97D745 #45D7CE
split-complementary
#8545D7 #D7CE45 #4ED745
monochromatic
#4A1D85 #6727B7 #8545D7 #A677E2 #C7AAED

Accessibility & contrast

On white

5.48
#8545D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8545D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8545D7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8545D7#FFFFFF#000000##FFFFFF
##8545D71.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8545d7;
/* rgb */ color: rgb(133, 69, 215);
/* oklch */ color: oklch(54.6% 0.212 299.3);
Tailwind
colors: {
  custom: {
    50: '#af7de4',
    500: '#8545d7',
    950: '#000000',
  },
}
SCSS
$custom: #8545d7;
$custom-light: #af7de4;
$custom-dark: #000000;
JSON
{
  "hex": "#8545d7",
  "rgb": {
    "r": 133,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 266.301,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54563,
    "c": 0.212,
    "h": 299.3
  },
  "luminance": 0.14149
}

Semantic roles & 50–950 ramp

primary
#8545D7
secondary
#C0DA9E
accent
#E8409E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8545D7

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

Preview Lab → · Contrast checker → · Palette generator →

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