#8542D0#8542D0

#8542D0 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.208 H 301.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8542D0
RGBrgb(133, 66, 208)
HSLhsl(268, 60%, 54%)
HSVhsv(268, 68%, 82%)
CMYKcmyk(36.1%, 68.3%, 0%, 18.4%)
CIE-LABlab(43.41, 55.50, -62.48)
CIE-LCHlch(43.41, 83.57, 311.61°)
OKLaboklab(53.67% 0.1079 -0.1779)
OKLCHoklch(53.67% 0.208 301.2)
XYZxyz(23.0035, 13.4369, 61.0439)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8542D0 #8DD042
analogous
#4246D0 #8542D0 #CC42D0
triadic
#8542D0 #D08542 #42D085
tetradic
#8542D0 #D04246 #8DD042 #42D0CC
square
#8542D0 #D04246 #8DD042 #42D0CC
split-complementary
#8542D0 #D0CC42 #46D042
monochromatic
#491E79 #672AAA #8542D0 #A573DC #C4A4E8

Accessibility & contrast

On white

5.70
#8542D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8542D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8542D0
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8542D0#FFFFFF#000000##FFFFFF
##8542D01.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#756384
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8542d0;
/* rgb */ color: rgb(133, 66, 208);
/* oklch */ color: oklch(53.7% 0.208 301.2);
Tailwind
colors: {
  custom: {
    50: '#ae7bdf',
    500: '#8542d0',
    950: '#000000',
  },
}
SCSS
$custom: #8542d0;
$custom-light: #ae7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8542d0",
  "rgb": {
    "r": 133,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 268.31,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53665,
    "c": 0.20808,
    "h": 301.2
  },
  "luminance": 0.13437
}

Semantic roles & 50–950 ramp

primary
#8542D0
secondary
#B9D599
accent
#E34498
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8542D0

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

Preview Lab → · Contrast checker → · Palette generator →

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