#8542CE#8542CE

#8542CE is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.206 H 301.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8542CE
RGBrgb(133, 66, 206)
HSLhsl(269, 59%, 53%)
HSVhsv(269, 68%, 81%)
CMYKcmyk(35.4%, 68%, 0%, 19.2%)
CIE-LABlab(43.27, 55.01, -61.56)
CIE-LCHlch(43.27, 82.56, 311.79°)
OKLaboklab(53.52% 0.1082 -0.1752)
OKLCHoklch(53.52% 0.206 301.7)
XYZxyz(22.7590, 13.3391, 59.7562)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8542CE #8BCE42
analogous
#4245CE #8542CE #CB42CE
triadic
#8542CE #CE8542 #42CE85
tetradic
#8542CE #CE4245 #8BCE42 #42CECB
square
#8542CE #CE4245 #8BCE42 #42CECB
split-complementary
#8542CE #CECB42 #45CE42
monochromatic
#491F77 #672BA7 #8542CE #A473DB #C4A3E7

Accessibility & contrast

On white

5.73
#8542CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8542CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8542CE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8542CE#FFFFFF#000000##FFFFFF
##8542CE1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#766283
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8542ce;
/* rgb */ color: rgb(133, 66, 206);
/* oklch */ color: oklch(53.5% 0.206 301.7);
Tailwind
colors: {
  custom: {
    50: '#ae7bde',
    500: '#8542ce',
    950: '#000000',
  },
}
SCSS
$custom: #8542ce;
$custom-light: #ae7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8542ce",
  "rgb": {
    "r": 133,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 268.714,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53516,
    "c": 0.20592,
    "h": 301.7
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

primary
#8542CE
secondary
#B7D498
accent
#E24697
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8542CE

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

Preview Lab → · Contrast checker → · Palette generator →

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