#543EB2#543EB2

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

Color values

HEX#543EB2
RGBrgb(84, 62, 178)
HSLhsl(251, 48%, 47%)
HSVhsv(251, 65%, 70%)
CMYKcmyk(52.8%, 65.2%, 0%, 30.2%)
CIE-LABlab(35.09, 40.09, -58.71)
CIE-LCHlch(35.09, 71.09, 304.33°)
OKLaboklab(45.75% 0.048 -0.1685)
OKLCHoklch(45.75% 0.175 285.9)
XYZxyz(13.4123, 8.5437, 43.0532)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543EB2 #9CB23E
analogous
#3E62B2 #543EB2 #8E3EB2
triadic
#543EB2 #B2543E #3EB254
tetradic
#543EB2 #B23E62 #9CB23E #3EB28E
square
#543EB2 #B23E62 #9CB23E #3EB28E
split-complementary
#543EB2 #B28E3E #62B23E
monochromatic
#291E57 #3F2E85 #543EB2 #7764C9 #9F92D9

Accessibility & contrast

On white

7.75
#543EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #543EB2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543EB2#FFFFFF#000000##FFFFFF
##543EB21.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#2F5B72
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #543eb2;
/* rgb */ color: rgb(84, 62, 178);
/* oklch */ color: oklch(45.8% 0.175 285.9);
Tailwind
colors: {
  custom: {
    50: '#8d75ca',
    500: '#543eb2',
    950: '#000000',
  },
}
SCSS
$custom: #543eb2;
$custom-light: #8d75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#543eb2",
  "rgb": {
    "r": 84,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 251.379,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45752,
    "c": 0.17518,
    "h": 285.9
  },
  "luminance": 0.08544
}

Semantic roles & 50–950 ramp

primary
#543EB2
secondary
#B9C488
accent
#D850BE
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #543EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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