#543CB2#543CB2

#543CB2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.178 H 286.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#543CB2
RGBrgb(84, 60, 178)
HSLhsl(252, 50%, 47%)
HSVhsv(252, 66%, 70%)
CMYKcmyk(52.8%, 66.3%, 0%, 30.2%)
CIE-LABlab(34.66, 41.25, -59.41)
CIE-LCHlch(34.66, 72.32, 304.77°)
OKLaboklab(45.44% 0.0499 -0.1705)
OKLCHoklch(45.44% 0.178 286.3)
XYZxyz(13.3055, 8.3302, 43.0176)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543CB2 #9AB23C
analogous
#3C5FB2 #543CB2 #8F3CB2
triadic
#543CB2 #B2543C #3CB254
tetradic
#543CB2 #B23C5F #9AB23C #3CB28F
square
#543CB2 #B23C5F #9AB23C #3CB28F
split-complementary
#543CB2 #B28F3C #5FB23C
monochromatic
#291D56 #3E2D84 #543CB2 #7761CA #9E8FD9

Accessibility & contrast

On white

7.88
#543CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #543CB2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543CB2#FFFFFF#000000##FFFFFF
##543CB21.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#2F5972
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #543cb2;
/* rgb */ color: rgb(84, 60, 178);
/* oklch */ color: oklch(45.4% 0.178 286.3);
Tailwind
colors: {
  custom: {
    50: '#8d73ca',
    500: '#543cb2',
    950: '#000000',
  },
}
SCSS
$custom: #543cb2;
$custom-light: #8d73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#543cb2",
  "rgb": {
    "r": 84,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 252.203,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.1777,
    "h": 286.3
  },
  "luminance": 0.08331
}

Semantic roles & 50–950 ramp

primary
#543CB2
secondary
#B7C486
accent
#D94FBD
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #543CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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