#812FAE#812FAE
#812FAE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.195 H 310.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #812FAE |
|---|---|
| RGB | rgb(129, 47, 174) |
| HSL | hsl(279, 57%, 43%) |
| HSV | hsv(279, 73%, 68%) |
| CMYK | cmyk(25.9%, 73%, 0%, 31.8%) |
| CIE-LAB | lab(37.40, 55.39, -52.34) |
| CIE-LCH | lch(37.40, 76.20, 316.62°) |
| OKLab | oklab(48.5% 0.1269 -0.1481) |
| OKLCH | oklch(48.5% 0.195 310.6) |
| XYZ | xyz(17.7083, 9.7566, 40.9865) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.95
Rebeccapurple
#663399
ΔE00 5.41
Darkviolet
#9400D3
ΔE00 5.77
Darkorchid
#9932CC
ΔE00 5.92
Purply
#983FB2
ΔE00 6.02
Blueviolet
#8A2BE2
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812FAE #5CAE2F
analogous
#412FAE #812FAE #AE2F9B
triadic
#812FAE #AE812F #2FAE81
tetradic
#812FAE #AE412F #5CAE2F #2F9BAE
square
#812FAE #AE412F #5CAE2F #2F9BAE
split-complementary
#812FAE #9BAE2F #2FAE41
monochromatic
#3A154E #5D227E #812FAE #A04CCF #BA7CDC
Accessibility & contrast
On white
7.12
#812FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#812FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812FAE
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812FAE | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#1759AB
Tritanopia (blue-blind)
#7B4C6C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #812fae; /* rgb */ color: rgb(129, 47, 174); /* oklch */ color: oklch(48.5% 0.195 310.6);
Tailwind
colors: {
custom: {
50: '#aa6fc7',
500: '#812fae',
950: '#000000',
},
}SCSS
$custom: #812fae; $custom-light: #aa6fc7; $custom-dark: #000000;
JSON
{
"hex": "#812fae",
"rgb": {
"r": 129,
"g": 47,
"b": 174
},
"hsl": {
"h": 278.74,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.485,
"c": 0.19508,
"h": 310.6
},
"luminance": 0.09756
}Semantic roles & 50–950 ramp
primary
#812FAE
secondary
#91C475
accent
#E1477E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82