#814ED2#814ED2
#814ED2 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.194 H 297.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #814ED2 |
|---|---|
| RGB | rgb(129, 78, 210) |
| HSL | hsl(263, 59%, 56%) |
| HSV | hsv(263, 63%, 82%) |
| CMYK | cmyk(38.6%, 62.9%, 0%, 17.6%) |
| CIE-LAB | lab(45.32, 49.12, -60.57) |
| CIE-LCH | lch(45.32, 77.98, 309.04°) |
| OKLab | oklab(54.97% 0.0893 -0.1725) |
| OKLCH | oklch(54.97% 0.194 297.4) |
| XYZ | xyz(23.4075, 14.7687, 62.5777) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.67
Light Indigo
#6D5ACF
ΔE00 5.00
Slate Blue
#6A5ACD
ΔE00 5.48
Bluish Purple
#703BE7
ΔE00 5.62
Blueviolet
#8A2BE2
ΔE00 6.13
Darkorchid
#9932CC
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#814ED2 #9FD24E
analogous
#4E5DD2 #814ED2 #C34ED2
triadic
#814ED2 #D2814E #4ED281
tetradic
#814ED2 #D24E5D #9FD24E #4ED2C3
square
#814ED2 #D24E5D #9FD24E #4ED2C3
split-complementary
#814ED2 #D2C34E #5DD24E
monochromatic
#482284 #622EB5 #814ED2 #A47FDE #C6B0EB
Accessibility & contrast
On white
5.31
#814ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#814ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #814ED2
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##814ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##814ED2 | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#006ACF
Tritanopia (blue-blind)
#6E6C89
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #814ed2; /* rgb */ color: rgb(129, 78, 210); /* oklch */ color: oklch(55.0% 0.194 297.4);
Tailwind
colors: {
custom: {
50: '#ab82e1',
500: '#814ed2',
950: '#000000',
},
}SCSS
$custom: #814ed2; $custom-light: #ab82e1; $custom-dark: #000000;
JSON
{
"hex": "#814ed2",
"rgb": {
"r": 129,
"g": 78,
"b": 210
},
"hsl": {
"h": 263.182,
"s": 59.459,
"l": 56.471
},
"oklch": {
"l": 0.54975,
"c": 0.19424,
"h": 297.4
},
"luminance": 0.14769
}Semantic roles & 50–950 ramp
primary
#814ED2
secondary
#C4D9A3
accent
#E345A6
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83