#8043C7#8043C7
#8043C7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.196 H 301.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8043C7 |
|---|---|
| RGB | rgb(128, 67, 199) |
| HSL | hsl(268, 54%, 52%) |
| HSV | hsv(268, 66%, 78%) |
| CMYK | cmyk(35.7%, 66.3%, 0%, 22%) |
| CIE-LAB | lab(42.35, 51.80, -59.03) |
| CIE-LCH | lch(42.35, 78.53, 311.27°) |
| OKLab | oklab(52.57% 0.1012 -0.168) |
| OKLCH | oklch(52.57% 0.196 301.1) |
| XYZ | xyz(21.2156, 12.7269, 55.3606) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.74
Darkorchid
#9932CC
ΔE00 4.74
Bluey Purple
#6241C7
ΔE00 5.33
Bluish Purple
#703BE7
ΔE00 5.34
Royal Purple
#7851A9
ΔE00 6.08
Burple
#6832E3
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8043C7 #8AC743
analogous
#4348C7 #8043C7 #C243C7
triadic
#8043C7 #C78043 #43C780
tetradic
#8043C7 #C74348 #8AC743 #43C7C2
square
#8043C7 #C74348 #8AC743 #43C7C2
split-complementary
#8043C7 #C7C243 #48C743
monochromatic
#45216F #622F9E #8043C7 #A072D5 #C0A1E3
Accessibility & contrast
On white
5.92
#8043C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#8043C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8043C7
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8043C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8043C7 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#71617F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8043c7; /* rgb */ color: rgb(128, 67, 199); /* oklch */ color: oklch(52.6% 0.196 301.1);
Tailwind
colors: {
custom: {
50: '#aa7bd9',
500: '#8043c7',
950: '#000000',
},
}SCSS
$custom: #8043c7; $custom-light: #aa7bd9; $custom-dark: #000000;
JSON
{
"hex": "#8043c7",
"rgb": {
"r": 128,
"g": 67,
"b": 199
},
"hsl": {
"h": 267.727,
"s": 54.098,
"l": 52.157
},
"oklch": {
"l": 0.52566,
"c": 0.19608,
"h": 301.1
},
"luminance": 0.12727
}Semantic roles & 50–950 ramp
primary
#8043C7
secondary
#B5D096
accent
#DD4A99
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83