#8542CF#8542CF

#8542CF is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.207 H 301.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8542CF
RGBrgb(133, 66, 207)
HSLhsl(269, 59%, 54%)
HSVhsv(269, 68%, 81%)
CMYKcmyk(35.7%, 68.1%, 0%, 18.8%)
CIE-LABlab(43.34, 55.25, -62.02)
CIE-LCHlch(43.34, 83.06, 311.70°)
OKLaboklab(53.59% 0.108 -0.1766)
OKLCHoklch(53.59% 0.207 301.5)
XYZxyz(22.8809, 13.3879, 60.3981)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8542CF #8CCF42
analogous
#4245CF #8542CF #CC42CF
triadic
#8542CF #CF8542 #42CF85
tetradic
#8542CF #CF4245 #8CCF42 #42CFCC
square
#8542CF #CF4245 #8CCF42 #42CFCC
split-complementary
#8542CF #CFCC42 #45CF42
monochromatic
#491F78 #672BA9 #8542CF #A573DB #C4A4E8

Accessibility & contrast

On white

5.71
#8542CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8542CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8542CF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8542CF#FFFFFF#000000##FFFFFF
##8542CF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#756383
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8542cf;
/* rgb */ color: rgb(133, 66, 207);
/* oklch */ color: oklch(53.6% 0.207 301.5);
Tailwind
colors: {
  custom: {
    50: '#ae7bdf',
    500: '#8542cf',
    950: '#000000',
  },
}
SCSS
$custom: #8542cf;
$custom-light: #ae7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8542cf",
  "rgb": {
    "r": 133,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 268.511,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53591,
    "c": 0.207,
    "h": 301.5
  },
  "luminance": 0.13388
}

Semantic roles & 50–950 ramp

primary
#8542CF
secondary
#B8D598
accent
#E34598
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8542CF

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

Preview Lab → · Contrast checker → · Palette generator →

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