#8043C5#8043C5
#8043C5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.194 H 301.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8043C5 |
|---|---|
| RGB | rgb(128, 67, 197) |
| HSL | hsl(268, 53%, 52%) |
| HSV | hsv(268, 66%, 77%) |
| CMYK | cmyk(35%, 66%, 0%, 22.7%) |
| CIE-LAB | lab(42.21, 51.30, -58.09) |
| CIE-LCH | lch(42.21, 77.51, 311.45°) |
| OKLab | oklab(52.42% 0.1014 -0.1652) |
| OKLCH | oklch(52.42% 0.194 301.5) |
| XYZ | xyz(20.9849, 12.6346, 54.1457) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.73
Blueviolet
#8A2BE2
ΔE00 4.93
Bluey Purple
#6241C7
ΔE00 5.41
Bluish Purple
#703BE7
ΔE00 5.60
Royal Purple
#7851A9
ΔE00 5.87
Purply
#983FB2
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8043C5 #88C543
analogous
#4347C5 #8043C5 #C143C5
triadic
#8043C5 #C58043 #43C580
tetradic
#8043C5 #C54347 #88C543 #43C5C1
square
#8043C5 #C54347 #88C543 #43C5C1
split-complementary
#8043C5 #C5C143 #47C543
monochromatic
#44216C #62309B #8043C5 #A072D3 #BFA1E2
Accessibility & contrast
On white
5.95
#8043C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8043C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8043C5
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8043C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8043C5 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0163C2
Tritanopia (blue-blind)
#72607E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8043c5; /* rgb */ color: rgb(128, 67, 197); /* oklch */ color: oklch(52.4% 0.194 301.5);
Tailwind
colors: {
custom: {
50: '#aa7bd7',
500: '#8043c5',
950: '#000000',
},
}SCSS
$custom: #8043c5; $custom-light: #aa7bd7; $custom-dark: #000000;
JSON
{
"hex": "#8043c5",
"rgb": {
"r": 128,
"g": 67,
"b": 197
},
"hsl": {
"h": 268.154,
"s": 52.846,
"l": 51.765
},
"oklch": {
"l": 0.5242,
"c": 0.19385,
"h": 301.5
},
"luminance": 0.12635
}Semantic roles & 50–950 ramp
primary
#8043C5
secondary
#B4CE95
accent
#DC4C98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83