#8542C8#8542C8

#8542C8 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.1% C 0.199 H 303.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8542C8
RGBrgb(133, 66, 200)
HSLhsl(270, 55%, 52%)
HSVhsv(270, 67%, 78%)
CMYKcmyk(33.5%, 67%, 0%, 21.6%)
CIE-LABlab(42.84, 53.57, -58.78)
CIE-LCHlch(42.84, 79.52, 312.34°)
OKLaboklab(53.08% 0.1089 -0.167)
OKLCHoklch(53.08% 0.199 303.1)
XYZxyz(22.0440, 13.0531, 55.9905)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8542C8 #85C842
analogous
#4242C8 #8542C8 #C842C8
triadic
#8542C8 #C88542 #42C885
tetradic
#8542C8 #C84242 #85C842 #42C8C8
square
#8542C8 #C84242 #85C842 #42C8C8
split-complementary
#8542C8 #C8C842 #42C842
monochromatic
#48206F #662E9F #8542C8 #A471D6 #C2A1E4

Accessibility & contrast

On white

5.82
#8542C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8542C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8542C8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8542C8#FFFFFF#000000##FFFFFF
##8542C81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0565C5
Tritanopia (blue-blind)
#786080
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8542c8;
/* rgb */ color: rgb(133, 66, 200);
/* oklch */ color: oklch(53.1% 0.199 303.1);
Tailwind
colors: {
  custom: {
    50: '#ad7bda',
    500: '#8542c8',
    950: '#000000',
  },
}
SCSS
$custom: #8542c8;
$custom-light: #ad7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8542c8",
  "rgb": {
    "r": 133,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 270,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53076,
    "c": 0.19943,
    "h": 303.1
  },
  "luminance": 0.13053
}

Semantic roles & 50–950 ramp

primary
#8542C8
secondary
#B3D096
accent
#DE4A94
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8542C8

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

Preview Lab → · Contrast checker → · Palette generator →

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