#8542BC#8542BC

#8542BC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.186 H 306.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8542BC
RGBrgb(133, 66, 188)
HSLhsl(273, 48%, 50%)
HSVhsv(273, 65%, 74%)
CMYKcmyk(29.3%, 64.9%, 0%, 26.3%)
CIE-LABlab(42.02, 50.71, -53.12)
CIE-LCHlch(42.02, 73.44, 313.67°)
OKLaboklab(52.23% 0.1101 -0.1504)
OKLCHoklch(52.23% 0.186 306.2)
XYZxyz(20.6962, 12.5140, 48.8923)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8542BC #79BC42
analogous
#4842BC #8542BC #BC42B6
triadic
#8542BC #BC8542 #42BC85
tetradic
#8542BC #BC4842 #79BC42 #42B6BC
square
#8542BC #BC4842 #79BC42 #42B6BC
split-complementary
#8542BC #B6BC42 #42BC48
monochromatic
#452261 #65328F #8542BC #A26FCC #BF9CDC

Accessibility & contrast

On white

6.00
#8542BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8542BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8542BC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8542BC#FFFFFF#000000##FFFFFF
##8542BC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#2564B9
Tritanopia (blue-blind)
#7C5C79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8542bc;
/* rgb */ color: rgb(133, 66, 188);
/* oklch */ color: oklch(52.2% 0.186 306.2);
Tailwind
colors: {
  custom: {
    50: '#ad7bd1',
    500: '#8542bc',
    950: '#000000',
  },
}
SCSS
$custom: #8542bc;
$custom-light: #ad7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8542bc",
  "rgb": {
    "r": 133,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 272.951,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52225,
    "c": 0.18639,
    "h": 306.2
  },
  "luminance": 0.12514
}

Semantic roles & 50–950 ramp

primary
#8542BC
secondary
#AAC991
accent
#D8508D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8542BC

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

Preview Lab → · Contrast checker → · Palette generator →

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