#8143C7#8143C7
#8143C7 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.196 H 301.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8143C7 |
|---|---|
| RGB | rgb(129, 67, 199) |
| HSL | hsl(268, 54%, 52%) |
| HSV | hsv(268, 66%, 78%) |
| CMYK | cmyk(35.2%, 66.3%, 0%, 22%) |
| CIE-LAB | lab(42.47, 52.00, -58.83) |
| CIE-LCH | lch(42.47, 78.52, 311.48°) |
| OKLab | oklab(52.68% 0.1025 -0.1673) |
| OKLCH | oklch(52.68% 0.196 301.5) |
| XYZ | xyz(21.3668, 12.8049, 55.3677) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.59
Blueviolet
#8A2BE2
ΔE00 4.72
Bluish Purple
#703BE7
ΔE00 5.45
Bluey Purple
#6241C7
ΔE00 5.52
Royal Purple
#7851A9
ΔE00 6.09
Purply
#983FB2
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8143C7 #89C743
analogous
#4347C7 #8143C7 #C343C7
triadic
#8143C7 #C78143 #43C781
tetradic
#8143C7 #C74347 #89C743 #43C7C3
square
#8143C7 #C74347 #89C743 #43C7C3
split-complementary
#8143C7 #C7C343 #47C743
monochromatic
#45216F #632F9E #8143C7 #A172D5 #C0A1E3
Accessibility & contrast
On white
5.90
#8143C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#8143C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8143C7
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8143C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8143C7 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0064C4
Tritanopia (blue-blind)
#72617F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8143c7; /* rgb */ color: rgb(129, 67, 199); /* oklch */ color: oklch(52.7% 0.196 301.5);
Tailwind
colors: {
custom: {
50: '#ab7bd9',
500: '#8143c7',
950: '#000000',
},
}SCSS
$custom: #8143c7; $custom-light: #ab7bd9; $custom-dark: #000000;
JSON
{
"hex": "#8143c7",
"rgb": {
"r": 129,
"g": 67,
"b": 199
},
"hsl": {
"h": 268.182,
"s": 54.098,
"l": 52.157
},
"oklch": {
"l": 0.52678,
"c": 0.19626,
"h": 301.5
},
"luminance": 0.12805
}Semantic roles & 50–950 ramp
primary
#8143C7
secondary
#B5D096
accent
#DD4A98
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83