#543CB3#543CB3

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

Color values

HEX#543CB3
RGBrgb(84, 60, 179)
HSLhsl(252, 50%, 47%)
HSVhsv(252, 66%, 70%)
CMYKcmyk(53.1%, 66.5%, 0%, 29.8%)
CIE-LABlab(34.74, 41.55, -59.87)
CIE-LCHlch(34.74, 72.88, 304.76°)
OKLaboklab(45.53% 0.0498 -0.1719)
OKLCHoklch(45.53% 0.179 286.2)
XYZxyz(13.4063, 8.3705, 43.5483)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543CB3 #9BB33C
analogous
#3C60B3 #543CB3 #903CB3
triadic
#543CB3 #B3543C #3CB354
tetradic
#543CB3 #B33C60 #9BB33C #3CB390
square
#543CB3 #B33C60 #9BB33C #3CB390
split-complementary
#543CB3 #B3903C #60B33C
monochromatic
#291D57 #3E2D85 #543CB3 #7762CA #9F90DA

Accessibility & contrast

On white

7.85
#543CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#543CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543CB3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543CB3#FFFFFF#000000##FFFFFF
##543CB31.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#2E5A72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #543cb3;
/* rgb */ color: rgb(84, 60, 179);
/* oklch */ color: oklch(45.5% 0.179 286.2);
Tailwind
colors: {
  custom: {
    50: '#8d73cb',
    500: '#543cb3',
    950: '#000000',
  },
}
SCSS
$custom: #543cb3;
$custom-light: #8d73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#543cb3",
  "rgb": {
    "r": 84,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 252.101,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45526,
    "c": 0.17896,
    "h": 286.2
  },
  "luminance": 0.08371
}

Semantic roles & 50–950 ramp

primary
#543CB3
secondary
#B8C586
accent
#D94EBD
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #543CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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