#814AA8#814AA8
#814AA8 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.151 H 309.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #814AA8 |
|---|---|
| RGB | rgb(129, 74, 168) |
| HSL | hsl(275, 39%, 47%) |
| HSV | hsv(275, 56%, 66%) |
| CMYK | cmyk(23.2%, 56%, 0%, 34.1%) |
| CIE-LAB | lab(41.83, 40.85, -41.66) |
| CIE-LCH | lch(41.83, 58.34, 314.44°) |
| OKLab | oklab(51.58% 0.095 -0.117) |
| OKLCH | oklch(51.58% 0.151 309.1) |
| XYZ | xyz(18.5686, 12.3921, 38.4519) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.86
Purply
#983FB2
ΔE00 4.82
Deep Lavender
#8D5EB7
ΔE00 6.40
Medium Purple
#9E43A2
ΔE00 6.71
Darkorchid
#9932CC
ΔE00 7.28
Rebeccapurple
#663399
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#814AA8 #71A84A
analogous
#524AA8 #814AA8 #A84AA0
triadic
#814AA8 #A8814A #4AA881
tetradic
#814AA8 #A8524A #71A84A #4AA0A8
square
#814AA8 #A8524A #71A84A #4AA0A8
split-complementary
#814AA8 #A0A84A #4AA852
monochromatic
#402553 #60377E #814AA8 #9E6FC0 #BB9AD2
Accessibility & contrast
On white
6.04
#814AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#814AA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #814AA8
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##814AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##814AA8 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C60AB
Deuteranopia (green-blind)
#3F64A6
Tritanopia (blue-blind)
#7C5B72
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #814aa8; /* rgb */ color: rgb(129, 74, 168); /* oklch */ color: oklch(51.6% 0.151 309.1);
Tailwind
colors: {
custom: {
50: '#a87fc2',
500: '#814aa8',
950: '#000000',
},
}SCSS
$custom: #814aa8; $custom-light: #a87fc2; $custom-dark: #000000;
JSON
{
"hex": "#814aa8",
"rgb": {
"r": 129,
"g": 74,
"b": 168
},
"hsl": {
"h": 275.106,
"s": 38.843,
"l": 47.451
},
"oklch": {
"l": 0.51579,
"c": 0.1507,
"h": 309.1
},
"luminance": 0.12392
}Semantic roles & 50–950 ramp
primary
#814AA8
secondary
#A3BF8F
accent
#CF598A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A12
muted
#7F7C81