#8147B8#8147B8
#8147B8 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.174 H 304.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8147B8 |
|---|---|
| RGB | rgb(129, 71, 184) |
| HSL | hsl(271, 44%, 50%) |
| HSV | hsv(271, 61%, 72%) |
| CMYK | cmyk(29.9%, 61.4%, 0%, 27.8%) |
| CIE-LAB | lab(42.21, 46.29, -50.50) |
| CIE-LCH | lch(42.21, 68.50, 312.51°) |
| OKLab | oklab(52.17% 0.099 -0.1429) |
| OKLCH | oklch(52.17% 0.174 304.7) |
| XYZ | xyz(19.9563, 12.6344, 46.7255) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.98
Purply
#983FB2
ΔE00 5.11
Darkorchid
#9932CC
ΔE00 5.41
Bluey Purple
#6241C7
ΔE00 6.71
Blueviolet
#8A2BE2
ΔE00 6.95
Deep Lavender
#8D5EB7
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8147B8 #7EB847
analogous
#4847B8 #8147B8 #B847B7
triadic
#8147B8 #B88147 #47B881
tetradic
#8147B8 #B84847 #7EB847 #47B7B8
square
#8147B8 #B84847 #7EB847 #47B7B8
split-complementary
#8147B8 #B7B847 #47B848
monochromatic
#432560 #62368C #8147B8 #9F73C9 #BD9FDA
Accessibility & contrast
On white
5.95
#8147B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8147B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8147B8
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8147B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8147B8 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0562BC
Deuteranopia (green-blind)
#2C64B5
Tritanopia (blue-blind)
#775E79
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8147b8; /* rgb */ color: rgb(129, 71, 184); /* oklch */ color: oklch(52.2% 0.174 304.7);
Tailwind
colors: {
custom: {
50: '#a97dce',
500: '#8147b8',
950: '#000000',
},
}SCSS
$custom: #8147b8; $custom-light: #a97dce; $custom-dark: #000000;
JSON
{
"hex": "#8147b8",
"rgb": {
"r": 129,
"g": 71,
"b": 184
},
"hsl": {
"h": 270.796,
"s": 44.314,
"l": 50
},
"oklch": {
"l": 0.52167,
"c": 0.17384,
"h": 304.7
},
"luminance": 0.12634
}Semantic roles & 50–950 ramp
primary
#8147B8
secondary
#ADC794
accent
#D45492
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82