#543DB2#543DB2

#543DB2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.6% C 0.176 H 286.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#543DB2
RGBrgb(84, 61, 178)
HSLhsl(252, 49%, 47%)
HSVhsv(252, 66%, 70%)
CMYKcmyk(52.8%, 65.7%, 0%, 30.2%)
CIE-LABlab(34.87, 40.67, -59.06)
CIE-LCHlch(34.87, 71.71, 304.55°)
OKLaboklab(45.6% 0.049 -0.1695)
OKLCHoklch(45.6% 0.176 286.1)
XYZxyz(13.3584, 8.4360, 43.0353)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543DB2 #9BB23D
analogous
#3D61B2 #543DB2 #8F3DB2
triadic
#543DB2 #B2543D #3DB254
tetradic
#543DB2 #B23D61 #9BB23D #3DB28F
square
#543DB2 #B23D61 #9BB23D #3DB28F
split-complementary
#543DB2 #B28F3D #61B23D
monochromatic
#291E57 #3E2D84 #543DB2 #7763C9 #9F90D9

Accessibility & contrast

On white

7.81
#543DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #543DB2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543DB2#FFFFFF#000000##FFFFFF
##543DB21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#2F5A72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #543db2;
/* rgb */ color: rgb(84, 61, 178);
/* oklch */ color: oklch(45.6% 0.176 286.1);
Tailwind
colors: {
  custom: {
    50: '#8d74ca',
    500: '#543db2',
    950: '#000000',
  },
}
SCSS
$custom: #543db2;
$custom-light: #8d74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#543db2",
  "rgb": {
    "r": 84,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 251.795,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45596,
    "c": 0.17645,
    "h": 286.1
  },
  "luminance": 0.08437
}

Semantic roles & 50–950 ramp

primary
#543DB2
secondary
#B8C487
accent
#D94FBE
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #543DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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