#543FAF#543FAF

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

Color values

HEX#543FAF
RGBrgb(84, 63, 175)
HSLhsl(251, 47%, 47%)
HSVhsv(251, 64%, 69%)
CMYKcmyk(52%, 64%, 0%, 31.4%)
CIE-LABlab(35.07, 38.59, -56.96)
CIE-LCHlch(35.07, 68.80, 304.12°)
OKLaboklab(45.66% 0.0473 -0.1633)
OKLCHoklch(45.66% 0.17 286.1)
XYZxyz(13.1692, 8.5343, 41.5025)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543FAF #9AAF3F
analogous
#3F62AF #543FAF #8C3FAF
triadic
#543FAF #AF543F #3FAF54
tetradic
#543FAF #AF3F62 #9AAF3F #3FAF8C
square
#543FAF #AF3F62 #9AAF3F #3FAF8C
split-complementary
#543FAF #AF8C3F #62AF3F
monochromatic
#291F55 #3E2F82 #543FAF #7764C7 #9E91D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##543FAF#FFFFFF#000000##FFFFFF
##543FAF1.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)
#0055B3
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#315A71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #543faf;
/* rgb */ color: rgb(84, 63, 175);
/* oklch */ color: oklch(45.7% 0.170 286.1);
Tailwind
colors: {
  custom: {
    50: '#8c75c8',
    500: '#543faf',
    950: '#000000',
  },
}
SCSS
$custom: #543faf;
$custom-light: #8c75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#543faf",
  "rgb": {
    "r": 84,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 251.25,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45664,
    "c": 0.17004,
    "h": 286.1
  },
  "luminance": 0.08535
}

Semantic roles & 50–950 ramp

primary
#543FAF
secondary
#B7C387
accent
#D751BE
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #543FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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