#8540CE#8540CE

#8540CE is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.208 H 301.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8540CE
RGBrgb(133, 64, 206)
HSLhsl(269, 59%, 53%)
HSVhsv(269, 69%, 81%)
CMYKcmyk(35.4%, 68.9%, 0%, 19.2%)
CIE-LABlab(42.93, 55.96, -62.11)
CIE-LCHlch(42.93, 83.60, 312.02°)
OKLaboklab(53.27% 0.1102 -0.1768)
OKLCHoklch(53.27% 0.208 301.9)
XYZxyz(22.6442, 13.1095, 59.7180)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8540CE #89CE40
analogous
#4042CE #8540CE #CC40CE
triadic
#8540CE #CE8540 #40CE85
tetradic
#8540CE #CE4042 #89CE40 #40CECC
square
#8540CE #CE4042 #89CE40 #40CECC
split-complementary
#8540CE #CECC40 #42CE40
monochromatic
#491E75 #672BA6 #8540CE #A471DA #C3A1E7

Accessibility & contrast

On white

5.80
#8540CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8540CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8540CE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8540CE#FFFFFF#000000##FFFFFF
##8540CE1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#766182
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8540ce;
/* rgb */ color: rgb(133, 64, 206);
/* oklch */ color: oklch(53.3% 0.208 301.9);
Tailwind
colors: {
  custom: {
    50: '#ae7ade',
    500: '#8540ce',
    950: '#000000',
  },
}
SCSS
$custom: #8540ce;
$custom-light: #ae7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8540ce",
  "rgb": {
    "r": 133,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 269.155,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53272,
    "c": 0.20839,
    "h": 301.9
  },
  "luminance": 0.1311
}

Semantic roles & 50–950 ramp

primary
#8540CE
secondary
#B6D496
accent
#E24596
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8540CE

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

Preview Lab → · Contrast checker → · Palette generator →

#8540CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva