#543FAC#543FAC
#543FAC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.4% C 0.166 H 286.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #543FAC |
|---|---|
| RGB | rgb(84, 63, 172) |
| HSL | hsl(252, 46%, 46%) |
| HSV | hsv(252, 63%, 67%) |
| CMYK | cmyk(51.2%, 63.4%, 0%, 32.5%) |
| CIE-LAB | lab(34.84, 37.68, -55.55) |
| CIE-LCH | lch(34.84, 67.12, 304.15°) |
| OKLab | oklab(45.42% 0.0475 -0.1592) |
| OKLCH | oklch(45.42% 0.166 286.6) |
| XYZ | xyz(12.8779, 8.4178, 39.9680) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.90
Blue With A Hint Of Purple
#533CC6
ΔE00 3.79
Blueberry
#464196
ΔE00 4.44
Bluey Purple
#6241C7
ΔE00 4.46
Blurple
#5539CC
ΔE00 4.69
Darkslateblue
#483D8B
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#543FAC #97AC3F
analogous
#3F60AC #543FAC #8A3FAC
triadic
#543FAC #AC543F #3FAC54
tetradic
#543FAC #AC3F60 #97AC3F #3FAC8A
square
#543FAC #AC3F60 #97AC3F #3FAC8A
split-complementary
#543FAC #AC8A3F #60AC3F
monochromatic
#281E52 #3E2F7F #543FAC #7663C6 #9D8FD6
Accessibility & contrast
On white
7.83
#543FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#543FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #543FAC
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##543FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##543FAC | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#34596F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #543fac; /* rgb */ color: rgb(84, 63, 172); /* oklch */ color: oklch(45.4% 0.166 286.6);
Tailwind
colors: {
custom: {
50: '#8c75c6',
500: '#543fac',
950: '#000000',
},
}SCSS
$custom: #543fac; $custom-light: #8c75c6; $custom-dark: #000000;
JSON
{
"hex": "#543fac",
"rgb": {
"r": 84,
"g": 63,
"b": 172
},
"hsl": {
"h": 251.56,
"s": 46.383,
"l": 46.078
},
"oklch": {
"l": 0.45421,
"c": 0.16615,
"h": 286.6
},
"luminance": 0.08418
}Semantic roles & 50–950 ramp
primary
#543FAC
secondary
#B6C186
accent
#D652BD
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82