#8147CD#8147CD
#8147CD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.198 H 299.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8147CD |
|---|---|
| RGB | rgb(129, 71, 205) |
| HSL | hsl(266, 57%, 54%) |
| HSV | hsv(266, 65%, 80%) |
| CMYK | cmyk(37.1%, 65.4%, 0%, 19.6%) |
| CIE-LAB | lab(43.63, 51.48, -60.42) |
| CIE-LCH | lch(43.63, 79.38, 310.43°) |
| OKLab | oklab(53.65% 0.0975 -0.172) |
| OKLCH | oklch(53.65% 0.198 299.5) |
| XYZ | xyz(22.3232, 13.5812, 59.1911) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.90
Bluish Purple
#703BE7
ΔE00 5.07
Darkorchid
#9932CC
ΔE00 5.18
Purpley
#8756E4
ΔE00 5.42
Bluey Purple
#6241C7
ΔE00 5.68
Light Indigo
#6D5ACF
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8147CD #93CD47
analogous
#4750CD #8147CD #C447CD
triadic
#8147CD #CD8147 #47CD81
tetradic
#8147CD #CD4750 #93CD47 #47CDC4
square
#8147CD #CD4750 #93CD47 #47CDC4
split-complementary
#8147CD #CDC447 #50CD47
monochromatic
#472179 #632EA9 #8147CD #A277DA #C3A7E7
Accessibility & contrast
On white
5.65
#8147CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#8147CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8147CD
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8147CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8147CD | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#706684
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8147cd; /* rgb */ color: rgb(129, 71, 205); /* oklch */ color: oklch(53.6% 0.198 299.5);
Tailwind
colors: {
custom: {
50: '#ab7edd',
500: '#8147cd',
950: '#000000',
},
}SCSS
$custom: #8147cd; $custom-light: #ab7edd; $custom-dark: #000000;
JSON
{
"hex": "#8147cd",
"rgb": {
"r": 129,
"g": 71,
"b": 205
},
"hsl": {
"h": 265.97,
"s": 57.265,
"l": 54.118
},
"oklch": {
"l": 0.53645,
"c": 0.19777,
"h": 299.5
},
"luminance": 0.13581
}Semantic roles & 50–950 ramp
primary
#8147CD
secondary
#BCD49B
accent
#E1479E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83