#812EAF#812EAF
#812EAF is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.5% C 0.197 H 310.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #812EAF |
|---|---|
| RGB | rgb(129, 46, 175) |
| HSL | hsl(279, 58%, 43%) |
| HSV | hsv(279, 74%, 69%) |
| CMYK | cmyk(26.3%, 73.7%, 0%, 31.4%) |
| CIE-LAB | lab(37.33, 56.02, -53.05) |
| CIE-LCH | lch(37.33, 77.15, 316.56°) |
| OKLab | oklab(48.47% 0.1278 -0.1502) |
| OKLCH | oklch(48.47% 0.197 310.4) |
| XYZ | xyz(17.7666, 9.7167, 41.4887) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.96
Rebeccapurple
#663399
ΔE00 5.47
Darkviolet
#9400D3
ΔE00 5.60
Darkorchid
#9932CC
ΔE00 5.88
Purply
#983FB2
ΔE00 6.15
Blueviolet
#8A2BE2
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812EAF #5CAF2E
analogous
#412EAF #812EAF #AF2E9C
triadic
#812EAF #AF812E #2EAF81
tetradic
#812EAF #AF412E #5CAF2E #2E9CAF
square
#812EAF #AF412E #5CAF2E #2E9CAF
split-complementary
#812EAF #9CAF2E #2EAF41
monochromatic
#3A154E #5D217F #812EAF #A04BD0 #BA7BDC
Accessibility & contrast
On white
7.14
#812EAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#812EAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812EAF
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812EAF | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#1359AC
Tritanopia (blue-blind)
#7B4C6C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #812eaf; /* rgb */ color: rgb(129, 46, 175); /* oklch */ color: oklch(48.5% 0.197 310.4);
Tailwind
colors: {
custom: {
50: '#aa6fc8',
500: '#812eaf',
950: '#000000',
},
}SCSS
$custom: #812eaf; $custom-light: #aa6fc8; $custom-dark: #000000;
JSON
{
"hex": "#812eaf",
"rgb": {
"r": 129,
"g": 46,
"b": 175
},
"hsl": {
"h": 278.605,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.48471,
"c": 0.19721,
"h": 310.4
},
"luminance": 0.09716
}Semantic roles & 50–950 ramp
primary
#812EAF
secondary
#91C574
accent
#E2467E
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82