#794EE4#794EE4
#794EE4 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.215 H 290.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #794EE4 |
|---|---|
| RGB | rgb(121, 78, 228) |
| HSL | hsl(257, 74%, 60%) |
| HSV | hsv(257, 66%, 89%) |
| CMYK | cmyk(46.9%, 65.8%, 0%, 10.6%) |
| CIE-LAB | lab(45.79, 52.34, -70.10) |
| CIE-LCH | lch(45.79, 87.48, 306.75°) |
| OKLab | oklab(55.54% 0.0767 -0.2008) |
| OKLCH | oklch(55.54% 0.215 290.9) |
| XYZ | xyz(24.6092, 15.1143, 75.0044) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.29
Bluish Purple
#703BE7
ΔE00 4.41
Light Indigo
#6D5ACF
ΔE00 4.59
Purpleish Blue
#6140EF
ΔE00 4.80
Slate Blue
#6A5ACD
ΔE00 5.05
Dark Periwinkle
#665FD1
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794EE4 #B9E44E
analogous
#4E6EE4 #794EE4 #C44EE4
triadic
#794EE4 #E4794E #4EE479
tetradic
#794EE4 #E44E6E #B9E44E #4EE4C4
square
#794EE4 #E44E6E #B9E44E #4EE4C4
split-complementary
#794EE4 #E4C44E #6EE44E
monochromatic
#3F189F #5420D4 #794EE4 #A183EC #C9B8F4
Accessibility & contrast
On white
5.22
#794EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#794EE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794EE4
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794EE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794EE4 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#577392
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #794ee4; /* rgb */ color: rgb(121, 78, 228); /* oklch */ color: oklch(55.5% 0.215 290.9);
Tailwind
colors: {
custom: {
50: '#a882ee',
500: '#794ee4',
950: '#000000',
},
}SCSS
$custom: #794ee4; $custom-light: #a882ee; $custom-dark: #000000;
JSON
{
"hex": "#794ee4",
"rgb": {
"r": 121,
"g": 78,
"b": 228
},
"hsl": {
"h": 257.2,
"s": 73.529,
"l": 60
},
"oklch": {
"l": 0.55536,
"c": 0.21491,
"h": 290.9
},
"luminance": 0.15115
}Semantic roles & 50–950 ramp
primary
#794EE4
secondary
#D3E4AA
accent
#F038BB
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84