#8440C5#8440C5
#8440C5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.199 H 303.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8440C5 |
|---|---|
| RGB | rgb(132, 64, 197) |
| HSL | hsl(271, 53%, 51%) |
| HSV | hsv(271, 68%, 77%) |
| CMYK | cmyk(33%, 67.5%, 0%, 22.7%) |
| CIE-LAB | lab(42.16, 53.61, -58.15) |
| CIE-LCH | lch(42.16, 79.09, 312.67°) |
| OKLab | oklab(52.49% 0.1101 -0.1652) |
| OKLCH | oklch(52.49% 0.199 303.7) |
| XYZ | xyz(21.4248, 12.6036, 54.1165) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.87
Blueviolet
#8A2BE2
ΔE00 4.55
Purply
#983FB2
ΔE00 5.68
Bluish Purple
#703BE7
ΔE00 5.94
Bluey Purple
#6241C7
ΔE00 6.07
Darkviolet
#9400D3
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8440C5 #81C540
analogous
#4140C5 #8440C5 #C540C3
triadic
#8440C5 #C58440 #40C584
tetradic
#8440C5 #C54140 #81C540 #40C3C5
square
#8440C5 #C54140 #81C540 #40C3C5
split-complementary
#8440C5 #C3C540 #40C541
monochromatic
#46206A #652F99 #8440C5 #A26FD3 #C09EE2
Accessibility & contrast
On white
5.96
#8440C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#8440C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8440C5
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8440C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8440C5 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0563C2
Tritanopia (blue-blind)
#775E7D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8440c5; /* rgb */ color: rgb(132, 64, 197); /* oklch */ color: oklch(52.5% 0.199 303.7);
Tailwind
colors: {
custom: {
50: '#ad7ad7',
500: '#8440c5',
950: '#000000',
},
}SCSS
$custom: #8440c5; $custom-light: #ad7ad7; $custom-dark: #000000;
JSON
{
"hex": "#8440c5",
"rgb": {
"r": 132,
"g": 64,
"b": 197
},
"hsl": {
"h": 270.677,
"s": 53.414,
"l": 51.176
},
"oklch": {
"l": 0.52493,
"c": 0.19855,
"h": 303.7
},
"luminance": 0.12604
}Semantic roles & 50–950 ramp
primary
#8440C5
secondary
#B0CE93
accent
#DD4B92
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83