#543CB8#543CB8

#543CB8 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.0% C 0.185 H 285.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#543CB8
RGBrgb(84, 60, 184)
HSLhsl(252, 51%, 48%)
HSVhsv(252, 67%, 72%)
CMYKcmyk(54.3%, 67.4%, 0%, 27.8%)
CIE-LABlab(35.16, 43.06, -62.15)
CIE-LCHlch(35.16, 75.61, 304.72°)
OKLaboklab(45.95% 0.0491 -0.1786)
OKLCHoklch(45.95% 0.185 285.4)
XYZxyz(13.9211, 8.5765, 46.2600)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543CB8 #A0B83C
analogous
#3C62B8 #543CB8 #923CB8
triadic
#543CB8 #B8543C #3CB854
tetradic
#543CB8 #B83C62 #A0B83C #3CB892
square
#543CB8 #B83C62 #A0B83C #3CB892
split-complementary
#543CB8 #B8923C #62B83C
monochromatic
#2A1E5C #3F2D8A #543CB8 #7965CD #A193DC

Accessibility & contrast

On white

7.73
#543CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#543CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543CB8
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543CB8#FFFFFF#000000##FFFFFF
##543CB81.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#295C75
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #543cb8;
/* rgb */ color: rgb(84, 60, 184);
/* oklch */ color: oklch(46.0% 0.185 285.4);
Tailwind
colors: {
  custom: {
    50: '#8e73ce',
    500: '#543cb8',
    950: '#000000',
  },
}
SCSS
$custom: #543cb8;
$custom-light: #8e73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#543cb8",
  "rgb": {
    "r": 84,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 251.613,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45952,
    "c": 0.18523,
    "h": 285.4
  },
  "luminance": 0.08577
}

Semantic roles & 50–950 ramp

primary
#543CB8
secondary
#BBC789
accent
#DA4DBF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #543CB8

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

Preview Lab → · Contrast checker → · Palette generator →

#543CB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva