#8145C7#8145C7
#8145C7 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.194 H 301.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8145C7 |
|---|---|
| RGB | rgb(129, 69, 199) |
| HSL | hsl(268, 54%, 53%) |
| HSV | hsv(268, 65%, 78%) |
| CMYK | cmyk(35.2%, 65.3%, 0%, 22%) |
| CIE-LAB | lab(42.83, 51.00, -58.24) |
| CIE-LCH | lch(42.83, 77.41, 311.21°) |
| OKLab | oklab(52.94% 0.1003 -0.1656) |
| OKLCH | oklch(52.94% 0.194 301.2) |
| XYZ | xyz(21.4877, 13.0468, 55.4080) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.80
Blueviolet
#8A2BE2
ΔE00 5.01
Bluish Purple
#703BE7
ΔE00 5.58
Bluey Purple
#6241C7
ΔE00 5.62
Royal Purple
#7851A9
ΔE00 5.86
Purpley
#8756E4
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8145C7 #8BC745
analogous
#454AC7 #8145C7 #C245C7
triadic
#8145C7 #C78145 #45C781
tetradic
#8145C7 #C7454A #8BC745 #45C7C2
square
#8145C7 #C7454A #8BC745 #45C7C2
split-complementary
#8145C7 #C7C245 #4AC745
monochromatic
#462270 #63309F #8145C7 #A174D5 #C1A3E3
Accessibility & contrast
On white
5.82
#8145C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#8145C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8145C7
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8145C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8145C7 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#0564C4
Tritanopia (blue-blind)
#726280
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8145c7; /* rgb */ color: rgb(129, 69, 199); /* oklch */ color: oklch(52.9% 0.194 301.2);
Tailwind
colors: {
custom: {
50: '#ab7cd9',
500: '#8145c7',
950: '#000000',
},
}SCSS
$custom: #8145c7; $custom-light: #ab7cd9; $custom-dark: #000000;
JSON
{
"hex": "#8145c7",
"rgb": {
"r": 129,
"g": 69,
"b": 199
},
"hsl": {
"h": 267.692,
"s": 53.719,
"l": 52.549
},
"oklch": {
"l": 0.52941,
"c": 0.19364,
"h": 301.2
},
"luminance": 0.13047
}Semantic roles & 50–950 ramp
primary
#8145C7
secondary
#B6D098
accent
#DD4B9A
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83