#8147AF#8147AF
#8147AF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.6% C 0.164 H 307.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8147AF |
|---|---|
| RGB | rgb(129, 71, 175) |
| HSL | hsl(273, 42%, 48%) |
| HSV | hsv(273, 59%, 69%) |
| CMYK | cmyk(26.3%, 59.4%, 0%, 31.4%) |
| CIE-LAB | lab(41.64, 44.12, -46.11) |
| CIE-LCH | lch(41.64, 63.82, 313.74°) |
| OKLab | oklab(51.57% 0.0992 -0.13) |
| OKLCH | oklch(51.57% 0.164 307.3) |
| XYZ | xyz(19.0428, 12.2690, 41.9141) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.40
Purply
#983FB2
ΔE00 4.63
Darkorchid
#9932CC
ΔE00 6.12
Deep Lavender
#8D5EB7
ΔE00 6.92
Medium Purple
#9E43A2
ΔE00 7.34
Rebeccapurple
#663399
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8147AF #75AF47
analogous
#4D47AF #8147AF #AF47A9
triadic
#8147AF #AF8147 #47AF81
tetradic
#8147AF #AF4D47 #75AF47 #47A9AF
square
#8147AF #AF4D47 #75AF47 #47A9AF
split-complementary
#8147AF #A9AF47 #47AF4D
monochromatic
#412458 #613583 #8147AF #9F6FC4 #BC9AD6
Accessibility & contrast
On white
6.08
#8147AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#8147AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8147AF
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8147AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8147AF | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C60B2
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#7A5B74
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8147af; /* rgb */ color: rgb(129, 71, 175); /* oklch */ color: oklch(51.6% 0.164 307.3);
Tailwind
colors: {
custom: {
50: '#a97dc7',
500: '#8147af',
950: '#000000',
},
}SCSS
$custom: #8147af; $custom-light: #a97dc7; $custom-dark: #000000;
JSON
{
"hex": "#8147af",
"rgb": {
"r": 129,
"g": 71,
"b": 175
},
"hsl": {
"h": 273.462,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.51573,
"c": 0.1635,
"h": 307.3
},
"luminance": 0.12269
}Semantic roles & 50–950 ramp
primary
#8147AF
secondary
#A6C28F
accent
#D2568D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82