#543EAF#543EAF

#543EAF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.5% C 0.171 H 286.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#543EAF
RGBrgb(84, 62, 175)
HSLhsl(252, 48%, 46%)
HSVhsv(252, 65%, 69%)
CMYKcmyk(52%, 64.6%, 0%, 31.4%)
CIE-LABlab(34.85, 39.18, -57.31)
CIE-LCHlch(34.85, 69.43, 304.36°)
OKLaboklab(45.5% 0.0483 -0.1644)
OKLCHoklch(45.5% 0.171 286.4)
XYZxyz(13.1143, 8.4246, 41.4842)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543EAF #99AF3E
analogous
#3E61AF #543EAF #8D3EAF
triadic
#543EAF #AF543E #3EAF54
tetradic
#543EAF #AF3E61 #99AF3E #3EAF8D
square
#543EAF #AF3E61 #99AF3E #3EAF8D
split-complementary
#543EAF #AF8D3E #61AF3E
monochromatic
#291E55 #3E2E82 #543EAF #7663C8 #9E90D8

Accessibility & contrast

On white

7.82
#543EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#543EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543EAF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543EAF#FFFFFF#000000##FFFFFF
##543EAF1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#315A71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #543eaf;
/* rgb */ color: rgb(84, 62, 175);
/* oklch */ color: oklch(45.5% 0.171 286.4);
Tailwind
colors: {
  custom: {
    50: '#8c74c8',
    500: '#543eaf',
    950: '#000000',
  },
}
SCSS
$custom: #543eaf;
$custom-light: #8c74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#543eaf",
  "rgb": {
    "r": 84,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 251.681,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.17134,
    "h": 286.4
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#543EAF
secondary
#B7C386
accent
#D751BD
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #543EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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