#8542BD#8542BD

#8542BD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.187 H 305.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8542BD
RGBrgb(133, 66, 189)
HSLhsl(273, 48%, 50%)
HSVhsv(273, 65%, 74%)
CMYKcmyk(29.6%, 65.1%, 0%, 25.9%)
CIE-LABlab(42.09, 50.95, -53.59)
CIE-LCHlch(42.09, 73.95, 313.55°)
OKLaboklab(52.29% 0.11 -0.1518)
OKLCHoklch(52.29% 0.187 305.9)
XYZxyz(20.8044, 12.5573, 49.4620)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8542BD #7ABD42
analogous
#4842BD #8542BD #BD42B7
triadic
#8542BD #BD8542 #42BD85
tetradic
#8542BD #BD4842 #7ABD42 #42B7BD
square
#8542BD #BD4842 #7ABD42 #42B7BD
split-complementary
#8542BD #B7BD42 #42BD48
monochromatic
#452262 #653290 #8542BD #A26FCD #C09DDD

Accessibility & contrast

On white

5.98
#8542BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8542BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8542BD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8542BD#FFFFFF#000000##FFFFFF
##8542BD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#2364BA
Tritanopia (blue-blind)
#7B5C7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8542bd;
/* rgb */ color: rgb(133, 66, 189);
/* oklch */ color: oklch(52.3% 0.187 305.9);
Tailwind
colors: {
  custom: {
    50: '#ad7bd2',
    500: '#8542bd',
    950: '#000000',
  },
}
SCSS
$custom: #8542bd;
$custom-light: #ad7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8542bd",
  "rgb": {
    "r": 133,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 272.683,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.52294,
    "c": 0.18748,
    "h": 305.9
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#8542BD
secondary
#ABC992
accent
#D8508E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8542BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8542BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva