#8542BF#8542BF

#8542BF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.190 H 305.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8542BF
RGBrgb(133, 66, 191)
HSLhsl(272, 49%, 50%)
HSVhsv(272, 65%, 75%)
CMYKcmyk(30.4%, 65.4%, 0%, 25.1%)
CIE-LABlab(42.22, 51.42, -54.54)
CIE-LCHlch(42.22, 74.96, 313.31°)
OKLaboklab(52.43% 0.1099 -0.1546)
OKLCHoklch(52.43% 0.19 305.4)
XYZxyz(21.0230, 12.6447, 50.6133)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8542BF #7CBF42
analogous
#4642BF #8542BF #BF42BA
triadic
#8542BF #BF8542 #42BF85
tetradic
#8542BF #BF4642 #7CBF42 #42BABF
square
#8542BF #BF4642 #7CBF42 #42BABF
split-complementary
#8542BF #BABF42 #42BF46
monochromatic
#462265 #653292 #8542BF #A370CE #C09DDE

Accessibility & contrast

On white

5.95
#8542BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8542BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8542BF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8542BF#FFFFFF#000000##FFFFFF
##8542BF1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#2064BC
Tritanopia (blue-blind)
#7B5D7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8542bf;
/* rgb */ color: rgb(133, 66, 191);
/* oklch */ color: oklch(52.4% 0.190 305.4);
Tailwind
colors: {
  custom: {
    50: '#ad7bd3',
    500: '#8542bf',
    950: '#000000',
  },
}
SCSS
$custom: #8542bf;
$custom-light: #ad7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8542bf",
  "rgb": {
    "r": 133,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 272.16,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.18966,
    "h": 305.4
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#8542BF
secondary
#ACCA93
accent
#D94F8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8542BF

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

Preview Lab → · Contrast checker → · Palette generator →

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