#8143C5#8143C5
#8143C5 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.194 H 302.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8143C5 |
|---|---|
| RGB | rgb(129, 67, 197) |
| HSL | hsl(269, 53%, 52%) |
| HSV | hsv(269, 66%, 77%) |
| CMYK | cmyk(34.5%, 66%, 0%, 22.7%) |
| CIE-LAB | lab(42.33, 51.51, -57.90) |
| CIE-LCH | lch(42.33, 77.50, 311.66°) |
| OKLab | oklab(52.53% 0.1028 -0.1646) |
| OKLCH | oklch(52.53% 0.194 302) |
| XYZ | xyz(21.1361, 12.7126, 54.1528) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.58
Blueviolet
#8A2BE2
ΔE00 4.92
Bluey Purple
#6241C7
ΔE00 5.59
Bluish Purple
#703BE7
ΔE00 5.71
Royal Purple
#7851A9
ΔE00 5.87
Purply
#983FB2
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8143C5 #87C543
analogous
#4346C5 #8143C5 #C243C5
triadic
#8143C5 #C58143 #43C581
tetradic
#8143C5 #C54346 #87C543 #43C5C2
square
#8143C5 #C54346 #87C543 #43C5C2
split-complementary
#8143C5 #C5C243 #46C543
monochromatic
#45216C #63309B #8143C5 #A072D3 #C0A1E2
Accessibility & contrast
On white
5.93
#8143C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#8143C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8143C5
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8143C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8143C5 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0563C2
Tritanopia (blue-blind)
#73607E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8143c5; /* rgb */ color: rgb(129, 67, 197); /* oklch */ color: oklch(52.5% 0.194 302.0);
Tailwind
colors: {
custom: {
50: '#aa7bd7',
500: '#8143c5',
950: '#000000',
},
}SCSS
$custom: #8143c5; $custom-light: #aa7bd7; $custom-dark: #000000;
JSON
{
"hex": "#8143c5",
"rgb": {
"r": 129,
"g": 67,
"b": 197
},
"hsl": {
"h": 268.615,
"s": 52.846,
"l": 51.765
},
"oklch": {
"l": 0.52532,
"c": 0.19404,
"h": 302
},
"luminance": 0.12713
}Semantic roles & 50–950 ramp
primary
#8143C5
secondary
#B3CE95
accent
#DC4C97
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110A14
muted
#807C83