#812EAE#812EAE
#812EAE is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.4% C 0.196 H 310.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #812EAE |
|---|---|
| RGB | rgb(129, 46, 174) |
| HSL | hsl(279, 58%, 43%) |
| HSV | hsv(279, 74%, 68%) |
| CMYK | cmyk(25.9%, 73.6%, 0%, 31.8%) |
| CIE-LAB | lab(37.26, 55.80, -52.57) |
| CIE-LCH | lch(37.26, 76.66, 316.71°) |
| OKLab | oklab(48.4% 0.1279 -0.1488) |
| OKLCH | oklch(48.4% 0.196 310.7) |
| XYZ | xyz(17.6688, 9.6775, 40.9734) |
| Luminance | 0.0968 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.84
Rebeccapurple
#663399
ΔE00 5.41
Darkviolet
#9400D3
ΔE00 5.72
Darkorchid
#9932CC
ΔE00 5.98
Purply
#983FB2
ΔE00 6.14
Blueviolet
#8A2BE2
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812EAE #5BAE2E
analogous
#412EAE #812EAE #AE2E9B
triadic
#812EAE #AE812E #2EAE81
tetradic
#812EAE #AE412E #5BAE2E #2E9BAE
square
#812EAE #AE412E #5BAE2E #2E9BAE
split-complementary
#812EAE #9BAE2E #2EAE41
monochromatic
#39144D #5D217E #812EAE #A04ACF #BA7ADC
Accessibility & contrast
On white
7.15
#812EAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#812EAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812EAE
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812EAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812EAE | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#1559AB
Tritanopia (blue-blind)
#7B4B6C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #812eae; /* rgb */ color: rgb(129, 46, 174); /* oklch */ color: oklch(48.4% 0.196 310.7);
Tailwind
colors: {
custom: {
50: '#aa6fc7',
500: '#812eae',
950: '#000000',
},
}SCSS
$custom: #812eae; $custom-light: #aa6fc7; $custom-dark: #000000;
JSON
{
"hex": "#812eae",
"rgb": {
"r": 129,
"g": 46,
"b": 174
},
"hsl": {
"h": 278.906,
"s": 58.182,
"l": 43.137
},
"oklch": {
"l": 0.48397,
"c": 0.19624,
"h": 310.7
},
"luminance": 0.09677
}Semantic roles & 50–950 ramp
primary
#812EAE
secondary
#90C474
accent
#E1467D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82