#8542D3#8542D3

#8542D3 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.211 H 300.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8542D3
RGBrgb(133, 66, 211)
HSLhsl(268, 62%, 54%)
HSVhsv(268, 69%, 83%)
CMYKcmyk(37%, 68.7%, 0%, 17.3%)
CIE-LABlab(43.63, 56.23, -63.85)
CIE-LCHlch(43.63, 85.08, 311.37°)
OKLaboklab(53.89% 0.1075 -0.1819)
OKLCHoklch(53.89% 0.211 300.6)
XYZxyz(23.3761, 13.5859, 63.0062)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8542D3 #90D342
analogous
#4248D3 #8542D3 #CE42D3
triadic
#8542D3 #D38542 #42D385
tetradic
#8542D3 #D34248 #90D342 #42D3CE
square
#8542D3 #D34248 #90D342 #42D3CE
split-complementary
#8542D3 #D3CE42 #48D342
monochromatic
#4A1D7D #6729AF #8542D3 #A574DF #C5A5EA

Accessibility & contrast

On white

5.65
#8542D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8542D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8542D3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8542D3#FFFFFF#000000##FFFFFF
##8542D31.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#746486
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8542d3;
/* rgb */ color: rgb(133, 66, 211);
/* oklch */ color: oklch(53.9% 0.211 300.6);
Tailwind
colors: {
  custom: {
    50: '#ae7be1',
    500: '#8542d3',
    950: '#000000',
  },
}
SCSS
$custom: #8542d3;
$custom-light: #ae7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8542d3",
  "rgb": {
    "r": 133,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 267.724,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5389,
    "c": 0.21131,
    "h": 300.6
  },
  "luminance": 0.13586
}

Semantic roles & 50–950 ramp

primary
#8542D3
secondary
#BBD79A
accent
#E5429A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8542D3

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

Preview Lab → · Contrast checker → · Palette generator →

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