#8147BF#8147BF
#8147BF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.182 H 302.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8147BF |
|---|---|
| RGB | rgb(129, 71, 191) |
| HSL | hsl(269, 48%, 51%) |
| HSV | hsv(269, 63%, 75%) |
| CMYK | cmyk(32.5%, 62.8%, 0%, 25.1%) |
| CIE-LAB | lab(42.67, 48.00, -53.86) |
| CIE-LCH | lch(42.67, 72.14, 311.71°) |
| OKLab | oklab(52.65% 0.0987 -0.1527) |
| OKLCH | oklch(52.65% 0.182 302.9) |
| XYZ | xyz(20.7083, 12.9352, 50.6859) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.70
Darkorchid
#9932CC
ΔE00 5.10
Purply
#983FB2
ΔE00 5.70
Blueviolet
#8A2BE2
ΔE00 6.11
Bluey Purple
#6241C7
ΔE00 6.14
Bluish Purple
#703BE7
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8147BF #85BF47
analogous
#4749BF #8147BF #BD47BF
triadic
#8147BF #BF8147 #47BF81
tetradic
#8147BF #BF4749 #85BF47 #47BFBD
square
#8147BF #BF4749 #85BF47 #47BFBD
split-complementary
#8147BF #BFBD47 #49BF47
monochromatic
#452468 #633495 #8147BF #A074CF #BFA2DF
Accessibility & contrast
On white
5.85
#8147BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#8147BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8147BF
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8147BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8147BF | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#75617C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8147bf; /* rgb */ color: rgb(129, 71, 191); /* oklch */ color: oklch(52.6% 0.182 302.9);
Tailwind
colors: {
custom: {
50: '#aa7dd3',
500: '#8147bf',
950: '#000000',
},
}SCSS
$custom: #8147bf; $custom-light: #aa7dd3; $custom-dark: #000000;
JSON
{
"hex": "#8147bf",
"rgb": {
"r": 129,
"g": 71,
"b": 191
},
"hsl": {
"h": 269,
"s": 48.387,
"l": 51.373
},
"oklch": {
"l": 0.52646,
"c": 0.18185,
"h": 302.9
},
"luminance": 0.12935
}Semantic roles & 50–950 ramp
primary
#8147BF
secondary
#B2CB96
accent
#D85096
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83