#8542DA#8542DA

#8542DA is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.4% C 0.219 H 299.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8542DA
RGBrgb(133, 66, 218)
HSLhsl(266, 67%, 56%)
HSVhsv(266, 70%, 85%)
CMYKcmyk(39%, 69.7%, 0%, 14.5%)
CIE-LABlab(44.15, 57.94, -67.01)
CIE-LCHlch(44.15, 88.59, 310.85°)
OKLaboklab(54.42% 0.1063 -0.1913)
OKLCHoklch(54.42% 0.219 299.1)
XYZxyz(24.2728, 13.9446, 67.7288)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8542DA #97DA42
analogous
#424BDA #8542DA #D142DA
triadic
#8542DA #DA8542 #42DA85
tetradic
#8542DA #DA424B #97DA42 #42DAD1
square
#8542DA #DA424B #97DA42 #42DAD1
split-complementary
#8542DA #DAD142 #4BDA42
monochromatic
#4A1A87 #6724BA #8542DA #A675E4 #C7A8EE

Accessibility & contrast

On white

5.54
#8542DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8542DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8542DA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8542DA#FFFFFF#000000##FFFFFF
##8542DA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#716789
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8542da;
/* rgb */ color: rgb(133, 66, 218);
/* oklch */ color: oklch(54.4% 0.219 299.1);
Tailwind
colors: {
  custom: {
    50: '#af7ce6',
    500: '#8542da',
    950: '#000000',
  },
}
SCSS
$custom: #8542da;
$custom-light: #af7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#8542da",
  "rgb": {
    "r": 133,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 266.447,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.21884,
    "h": 299.1
  },
  "luminance": 0.13945
}

Semantic roles & 50–950 ramp

primary
#8542DA
secondary
#C0DB9C
accent
#EA3E9E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8542DA

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

Preview Lab → · Contrast checker → · Palette generator →

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