#8044C7#8044C7
#8044C7 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.195 H 300.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8044C7 |
|---|---|
| RGB | rgb(128, 68, 199) |
| HSL | hsl(267, 54%, 52%) |
| HSV | hsv(267, 66%, 78%) |
| CMYK | cmyk(35.7%, 65.8%, 0%, 22%) |
| CIE-LAB | lab(42.53, 51.30, -58.73) |
| CIE-LCH | lch(42.53, 77.98, 311.13°) |
| OKLab | oklab(52.7% 0.1001 -0.1671) |
| OKLCH | oklch(52.7% 0.195 300.9) |
| XYZ | xyz(21.2755, 12.8468, 55.3806) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.84
Blueviolet
#8A2BE2
ΔE00 4.88
Bluey Purple
#6241C7
ΔE00 5.38
Bluish Purple
#703BE7
ΔE00 5.39
Royal Purple
#7851A9
ΔE00 5.97
Burple
#6832E3
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8044C7 #8BC744
analogous
#444AC7 #8044C7 #C144C7
triadic
#8044C7 #C78044 #44C780
tetradic
#8044C7 #C7444A #8BC744 #44C7C1
square
#8044C7 #C7444A #8BC744 #44C7C1
split-complementary
#8044C7 #C7C144 #4AC744
monochromatic
#45216F #622F9E #8044C7 #A073D5 #C0A2E3
Accessibility & contrast
On white
5.88
#8044C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#8044C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8044C7
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8044C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8044C7 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#0064C4
Tritanopia (blue-blind)
#716280
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8044c7; /* rgb */ color: rgb(128, 68, 199); /* oklch */ color: oklch(52.7% 0.195 300.9);
Tailwind
colors: {
custom: {
50: '#aa7cd9',
500: '#8044c7',
950: '#000000',
},
}SCSS
$custom: #8044c7; $custom-light: #aa7cd9; $custom-dark: #000000;
JSON
{
"hex": "#8044c7",
"rgb": {
"r": 128,
"g": 68,
"b": 199
},
"hsl": {
"h": 267.481,
"s": 53.909,
"l": 52.353
},
"oklch": {
"l": 0.52697,
"c": 0.19477,
"h": 300.9
},
"luminance": 0.12847
}Semantic roles & 50–950 ramp
primary
#8044C7
secondary
#B6D097
accent
#DD4B9A
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83