#794EAE#794EAE
#794EAE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.7% C 0.149 H 302.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #794EAE |
|---|---|
| RGB | rgb(121, 78, 174) |
| HSL | hsl(267, 38%, 49%) |
| HSV | hsv(267, 55%, 68%) |
| CMYK | cmyk(30.5%, 55.2%, 0%, 31.8%) |
| CIE-LAB | lab(42.11, 37.98, -44.82) |
| CIE-LCH | lch(42.11, 58.75, 310.27°) |
| OKLab | oklab(51.69% 0.0794 -0.1265) |
| OKLCH | oklch(51.69% 0.149 302.1) |
| XYZ | xyz(18.2478, 12.5697, 41.5010) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.33
Deep Lavender
#8D5EB7
ΔE00 6.26
Purply
#983FB2
ΔE00 6.82
Bluey Purple
#6241C7
ΔE00 7.21
Light Indigo
#6D5ACF
ΔE00 7.37
Iris
#6258C4
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794EAE #83AE4E
analogous
#4E53AE #794EAE #A94EAE
triadic
#794EAE #AE794E #4EAE79
tetradic
#794EAE #AE4E53 #83AE4E #4EAEA9
square
#794EAE #AE4E53 #83AE4E #4EAEA9
split-complementary
#794EAE #AEA94E #53AE4E
monochromatic
#3E2859 #5C3B84 #794EAE #9977C2 #B9A1D5
Accessibility & contrast
On white
5.98
#794EAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#794EAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794EAE
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794EAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794EAE | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2963B1
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#6F6176
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #794eae; /* rgb */ color: rgb(121, 78, 174); /* oklch */ color: oklch(51.7% 0.149 302.1);
Tailwind
colors: {
custom: {
50: '#a381c7',
500: '#794eae',
950: '#000000',
},
}SCSS
$custom: #794eae; $custom-light: #a381c7; $custom-dark: #000000;
JSON
{
"hex": "#794eae",
"rgb": {
"r": 121,
"g": 78,
"b": 174
},
"hsl": {
"h": 266.875,
"s": 38.095,
"l": 49.412
},
"oklch": {
"l": 0.51686,
"c": 0.14936,
"h": 302.1
},
"luminance": 0.1257
}Semantic roles & 50–950 ramp
primary
#794EAE
secondary
#AEC296
accent
#CE5A9A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82