#543CB7#543CB7

#543CB7 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.184 H 285.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#543CB7
RGBrgb(84, 60, 183)
HSLhsl(252, 51%, 48%)
HSVhsv(252, 67%, 72%)
CMYKcmyk(54.1%, 67.2%, 0%, 28.2%)
CIE-LABlab(35.07, 42.76, -61.70)
CIE-LCHlch(35.07, 75.07, 304.72°)
OKLaboklab(45.87% 0.0493 -0.1773)
OKLCHoklch(45.87% 0.184 285.5)
XYZxyz(13.8167, 8.5347, 45.7099)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543CB7 #9FB73C
analogous
#3C62B7 #543CB7 #913CB7
triadic
#543CB7 #B7543C #3CB754
tetradic
#543CB7 #B73C62 #9FB73C #3CB791
square
#543CB7 #B73C62 #9FB73C #3CB791
split-complementary
#543CB7 #B7913C #62B73C
monochromatic
#2A1E5B #3F2D89 #543CB7 #7864CC #A092DB

Accessibility & contrast

On white

7.76
#543CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#543CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543CB7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543CB7#FFFFFF#000000##FFFFFF
##543CB71.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#2A5B74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #543cb7;
/* rgb */ color: rgb(84, 60, 183);
/* oklch */ color: oklch(45.9% 0.184 285.5);
Tailwind
colors: {
  custom: {
    50: '#8e73ce',
    500: '#543cb7',
    950: '#000000',
  },
}
SCSS
$custom: #543cb7;
$custom-light: #8e73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#543cb7",
  "rgb": {
    "r": 84,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 251.707,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45866,
    "c": 0.18399,
    "h": 285.5
  },
  "luminance": 0.08535
}

Semantic roles & 50–950 ramp

primary
#543CB7
secondary
#BAC688
accent
#DA4EBF
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #543CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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