#543EC5#543EC5

#543EC5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.4% C 0.199 H 283.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#543EC5
RGBrgb(84, 62, 197)
HSLhsl(250, 54%, 51%)
HSVhsv(250, 69%, 77%)
CMYKcmyk(57.4%, 68.5%, 0%, 22.7%)
CIE-LABlab(36.67, 45.88, -67.31)
CIE-LCHlch(36.67, 81.46, 304.28°)
OKLaboklab(47.38% 0.0454 -0.1937)
OKLCHoklch(47.38% 0.199 283.2)
XYZxyz(15.4537, 9.3603, 53.8049)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543EC5 #AFC53E
analogous
#3E6BC5 #543EC5 #973EC5
triadic
#543EC5 #C5543E #3EC554
tetradic
#543EC5 #C53E6B #AFC53E #3EC597
square
#543EC5 #C53E6B #AFC53E #3EC597
split-complementary
#543EC5 #C5973E #6BC53E
monochromatic
#2C2069 #3F2E98 #543EC5 #7E6DD3 #A79CE1

Accessibility & contrast

On white

7.31
#543EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#543EC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543EC5
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543EC5#FFFFFF#000000##FFFFFF
##543EC51.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#16617D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #543ec5;
/* rgb */ color: rgb(84, 62, 197);
/* oklch */ color: oklch(47.4% 0.199 283.2);
Tailwind
colors: {
  custom: {
    50: '#9075d8',
    500: '#543ec5',
    950: '#000000',
  },
}
SCSS
$custom: #543ec5;
$custom-light: #9075d8;
$custom-dark: #000000;
JSON
{
  "hex": "#543ec5",
  "rgb": {
    "r": 84,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 249.778,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47379,
    "c": 0.19898,
    "h": 283.2
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#543EC5
secondary
#C4CD91
accent
#DD4BC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #543EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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