#8542CD#8542CD

#8542CD is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.205 H 301.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8542CD
RGBrgb(133, 66, 205)
HSLhsl(269, 58%, 53%)
HSVhsv(269, 68%, 80%)
CMYKcmyk(35.1%, 67.8%, 0%, 19.6%)
CIE-LABlab(43.20, 54.77, -61.10)
CIE-LCHlch(43.20, 82.05, 311.87°)
OKLaboklab(53.44% 0.1083 -0.1739)
OKLCHoklch(53.44% 0.205 301.9)
XYZxyz(22.6379, 13.2907, 59.1185)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8542CD #8ACD42
analogous
#4244CD #8542CD #CB42CD
triadic
#8542CD #CD8542 #42CD85
tetradic
#8542CD #CD4244 #8ACD42 #42CDCB
square
#8542CD #CD4244 #8ACD42 #42CDCB
split-complementary
#8542CD #CDCB42 #44CD42
monochromatic
#491F76 #672CA6 #8542CD #A472DA #C3A3E7

Accessibility & contrast

On white

5.74
#8542CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8542CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8542CD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8542CD#FFFFFF#000000##FFFFFF
##8542CD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#766282
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8542cd;
/* rgb */ color: rgb(133, 66, 205);
/* oklch */ color: oklch(53.4% 0.205 301.9);
Tailwind
colors: {
  custom: {
    50: '#ae7bdd',
    500: '#8542cd',
    950: '#000000',
  },
}
SCSS
$custom: #8542cd;
$custom-light: #ae7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8542cd",
  "rgb": {
    "r": 133,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 268.921,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53442,
    "c": 0.20485,
    "h": 301.9
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#8542CD
secondary
#B6D397
accent
#E14697
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8542CD

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

Preview Lab → · Contrast checker → · Palette generator →

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