#543FAC#543FAC

#543FAC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.4% C 0.166 H 286.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#543FAC
RGBrgb(84, 63, 172)
HSLhsl(252, 46%, 46%)
HSVhsv(252, 63%, 67%)
CMYKcmyk(51.2%, 63.4%, 0%, 32.5%)
CIE-LABlab(34.84, 37.68, -55.55)
CIE-LCHlch(34.84, 67.12, 304.15°)
OKLaboklab(45.42% 0.0475 -0.1592)
OKLCHoklch(45.42% 0.166 286.6)
XYZxyz(12.8779, 8.4178, 39.9680)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543FAC #97AC3F
analogous
#3F60AC #543FAC #8A3FAC
triadic
#543FAC #AC543F #3FAC54
tetradic
#543FAC #AC3F60 #97AC3F #3FAC8A
square
#543FAC #AC3F60 #97AC3F #3FAC8A
split-complementary
#543FAC #AC8A3F #60AC3F
monochromatic
#281E52 #3E2F7F #543FAC #7663C6 #9D8FD6

Accessibility & contrast

On white

7.83
#543FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#543FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543FAC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543FAC#FFFFFF#000000##FFFFFF
##543FAC1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#34596F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #543fac;
/* rgb */ color: rgb(84, 63, 172);
/* oklch */ color: oklch(45.4% 0.166 286.6);
Tailwind
colors: {
  custom: {
    50: '#8c75c6',
    500: '#543fac',
    950: '#000000',
  },
}
SCSS
$custom: #543fac;
$custom-light: #8c75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#543fac",
  "rgb": {
    "r": 84,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 251.56,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45421,
    "c": 0.16615,
    "h": 286.6
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#543FAC
secondary
#B6C186
accent
#D652BD
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #543FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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