#814FC2#814FC2
#814FC2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.174 H 300.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #814FC2 |
|---|---|
| RGB | rgb(129, 79, 194) |
| HSL | hsl(266, 49%, 54%) |
| HSV | hsv(266, 59%, 76%) |
| CMYK | cmyk(33.5%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(44.45, 44.48, -52.72) |
| CIE-LCH | lch(44.45, 68.98, 310.15°) |
| OKLab | oklab(54.01% 0.0889 -0.1494) |
| OKLCH | oklch(54.01% 0.174 300.8) |
| XYZ | xyz(21.5845, 14.1540, 52.6233) |
| Luminance | 0.1415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.38
Purpley
#8756E4
ΔE00 5.62
Deep Lavender
#8D5EB7
ΔE00 5.77
Light Indigo
#6D5ACF
ΔE00 5.77
Slate Blue
#6A5ACD
ΔE00 6.12
Darkorchid
#9932CC
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#814FC2 #90C24F
analogous
#4F56C2 #814FC2 #BA4FC2
triadic
#814FC2 #C2814F #4FC281
tetradic
#814FC2 #C24F56 #90C24F #4FC2BA
square
#814FC2 #C24F56 #90C24F #4FC2BA
split-complementary
#814FC2 #C2BA4F #56C24F
monochromatic
#472770 #63379D #814FC2 #A27CD2 #C2AAE2
Accessibility & contrast
On white
5.48
#814FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#814FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #814FC2
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##814FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##814FC2 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1069C6
Deuteranopia (green-blind)
#2C68BF
Tritanopia (blue-blind)
#746781
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #814fc2; /* rgb */ color: rgb(129, 79, 194); /* oklch */ color: oklch(54.0% 0.174 300.8);
Tailwind
colors: {
custom: {
50: '#aa82d5',
500: '#814fc2',
950: '#000000',
},
}SCSS
$custom: #814fc2; $custom-light: #aa82d5; $custom-dark: #000000;
JSON
{
"hex": "#814fc2",
"rgb": {
"r": 129,
"g": 79,
"b": 194
},
"hsl": {
"h": 266.087,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.54009,
"c": 0.17389,
"h": 300.8
},
"luminance": 0.14154
}Semantic roles & 50–950 ramp
primary
#814FC2
secondary
#BACF9E
accent
#D8509D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83