#543BB8#543BB8

#543BB8 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.8% C 0.186 H 285.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#543BB8
RGBrgb(84, 59, 184)
HSLhsl(252, 51%, 48%)
HSVhsv(252, 68%, 72%)
CMYKcmyk(54.3%, 67.9%, 0%, 27.8%)
CIE-LABlab(34.95, 43.63, -62.49)
CIE-LCHlch(34.95, 76.21, 304.92°)
OKLaboklab(45.8% 0.05 -0.1796)
OKLCHoklch(45.8% 0.186 285.6)
XYZxyz(13.8693, 8.4727, 46.2427)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543BB8 #9FB83B
analogous
#3B61B8 #543BB8 #923BB8
triadic
#543BB8 #B8543B #3BB854
tetradic
#543BB8 #B83B61 #9FB83B #3BB892
square
#543BB8 #B83B61 #9FB83B #3BB892
split-complementary
#543BB8 #B8923B #61B83B
monochromatic
#2A1D5B #3F2C8A #543BB8 #7863CD #A092DC

Accessibility & contrast

On white

7.79
#543BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #543BB8
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543BB8#FFFFFF#000000##FFFFFF
##543BB81.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#295B75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #543bb8;
/* rgb */ color: rgb(84, 59, 184);
/* oklch */ color: oklch(45.8% 0.186 285.6);
Tailwind
colors: {
  custom: {
    50: '#8e73ce',
    500: '#543bb8',
    950: '#000000',
  },
}
SCSS
$custom: #543bb8;
$custom-light: #8e73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#543bb8",
  "rgb": {
    "r": 84,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 252,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45803,
    "c": 0.18643,
    "h": 285.6
  },
  "luminance": 0.08473
}

Semantic roles & 50–950 ramp

primary
#543BB8
secondary
#BAC788
accent
#DB4DBF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #543BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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