#794FE4#794FE4
#794FE4 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.214 H 290.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #794FE4 |
|---|---|
| RGB | rgb(121, 79, 228) |
| HSL | hsl(257, 73%, 60%) |
| HSV | hsv(257, 65%, 89%) |
| CMYK | cmyk(46.9%, 65.4%, 0%, 10.6%) |
| CIE-LAB | lab(45.98, 51.81, -69.78) |
| CIE-LCH | lch(45.98, 86.91, 306.59°) |
| OKLab | oklab(55.68% 0.0757 -0.1998) |
| OKLCH | oklch(55.68% 0.214 290.7) |
| XYZ | xyz(24.6808, 15.2574, 75.0283) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.14
Light Indigo
#6D5ACF
ΔE00 4.44
Bluish Purple
#703BE7
ΔE00 4.65
Slate Blue
#6A5ACD
ΔE00 4.91
Purpleish Blue
#6140EF
ΔE00 4.96
Dark Periwinkle
#665FD1
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794FE4 #BAE44F
analogous
#4F6FE4 #794FE4 #C44FE4
triadic
#794FE4 #E4794F #4FE479
tetradic
#794FE4 #E44F6F #BAE44F #4FE4C4
square
#794FE4 #E44F6F #BAE44F #4FE4C4
split-complementary
#794FE4 #E4C44F #6FE44F
monochromatic
#3F19A0 #5421D5 #794FE4 #A184EC #CAB9F4
Accessibility & contrast
On white
5.18
#794FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#794FE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794FE4
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794FE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794FE4 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#577393
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #794fe4; /* rgb */ color: rgb(121, 79, 228); /* oklch */ color: oklch(55.7% 0.214 290.7);
Tailwind
colors: {
custom: {
50: '#a883ed',
500: '#794fe4',
950: '#000000',
},
}SCSS
$custom: #794fe4; $custom-light: #a883ed; $custom-dark: #000000;
JSON
{
"hex": "#794fe4",
"rgb": {
"r": 121,
"g": 79,
"b": 228
},
"hsl": {
"h": 256.913,
"s": 73.399,
"l": 60.196
},
"oklch": {
"l": 0.55676,
"c": 0.21369,
"h": 290.7
},
"luminance": 0.15258
}Semantic roles & 50–950 ramp
primary
#794FE4
secondary
#D4E4AB
accent
#D6109E
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84