#8540D0#8540D0

#8540D0 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.211 H 301.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8540D0
RGBrgb(133, 64, 208)
HSLhsl(269, 61%, 53%)
HSVhsv(269, 69%, 82%)
CMYKcmyk(36.1%, 69.2%, 0%, 18.4%)
CIE-LABlab(43.07, 56.45, -63.03)
CIE-LCHlch(43.07, 84.61, 311.85°)
OKLaboklab(53.42% 0.1099 -0.1795)
OKLCHoklch(53.42% 0.211 301.5)
XYZxyz(22.8887, 13.2073, 61.0057)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8540D0 #8BD040
analogous
#4043D0 #8540D0 #CD40D0
triadic
#8540D0 #D08540 #40D085
tetradic
#8540D0 #D04043 #8BD040 #40D0CD
square
#8540D0 #D04043 #8BD040 #40D0CD
split-complementary
#8540D0 #D0CD40 #43D040
monochromatic
#491E78 #672AA9 #8540D0 #A471DC #C4A2E8

Accessibility & contrast

On white

5.77
#8540D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8540D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8540D0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8540D0#FFFFFF#000000##FFFFFF
##8540D01.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#756283
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8540d0;
/* rgb */ color: rgb(133, 64, 208);
/* oklch */ color: oklch(53.4% 0.211 301.5);
Tailwind
colors: {
  custom: {
    50: '#ae7adf',
    500: '#8540d0',
    950: '#000000',
  },
}
SCSS
$custom: #8540d0;
$custom-light: #ae7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#8540d0",
  "rgb": {
    "r": 133,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 268.75,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.21053,
    "h": 301.5
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#8540D0
secondary
#B7D597
accent
#E44497
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8540D0

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

Preview Lab → · Contrast checker → · Palette generator →

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