#794EE2#794EE2
#794EE2 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.213 H 291.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #794EE2 |
|---|---|
| RGB | rgb(121, 78, 226) |
| HSL | hsl(257, 72%, 60%) |
| HSV | hsv(257, 65%, 89%) |
| CMYK | cmyk(46.5%, 65.5%, 0%, 11.4%) |
| CIE-LAB | lab(45.64, 51.80, -69.21) |
| CIE-LCH | lch(45.64, 86.45, 306.81°) |
| OKLab | oklab(55.38% 0.0769 -0.1982) |
| OKLCH | oklch(55.38% 0.213 291.2) |
| XYZ | xyz(24.3332, 15.0038, 73.5507) |
| Luminance | 0.1500 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.33
Bluish Purple
#703BE7
ΔE00 4.39
Light Indigo
#6D5ACF
ΔE00 4.47
Purpleish Blue
#6140EF
ΔE00 4.84
Slate Blue
#6A5ACD
ΔE00 4.93
Dark Periwinkle
#665FD1
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794EE2 #B7E24E
analogous
#4E6DE2 #794EE2 #C34EE2
triadic
#794EE2 #E2794E #4EE279
tetradic
#794EE2 #E24E6D #B7E24E #4EE2C3
square
#794EE2 #E24E6D #B7E24E #4EE2C3
split-complementary
#794EE2 #E2C34E #6DE24E
monochromatic
#3F1A9C #5522D1 #794EE2 #A183EB #C9B7F3
Accessibility & contrast
On white
5.25
#794EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#794EE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794EE2
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794EE2 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#587291
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #794ee2; /* rgb */ color: rgb(121, 78, 226); /* oklch */ color: oklch(55.4% 0.213 291.2);
Tailwind
colors: {
custom: {
50: '#a882ec',
500: '#794ee2',
950: '#000000',
},
}SCSS
$custom: #794ee2; $custom-light: #a882ec; $custom-dark: #000000;
JSON
{
"hex": "#794ee2",
"rgb": {
"r": 121,
"g": 78,
"b": 226
},
"hsl": {
"h": 257.432,
"s": 71.845,
"l": 59.608
},
"oklch": {
"l": 0.5538,
"c": 0.21257,
"h": 291.2
},
"luminance": 0.15005
}Semantic roles & 50–950 ramp
primary
#794EE2
secondary
#D2E3A9
accent
#EF39BA
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B16
muted
#7F7C84