#790CE2#790CE2
#790CE2 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 49.7% C 0.265 H 296.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #790CE2 |
|---|---|
| RGB | rgb(121, 12, 226) |
| HSL | hsl(271, 90%, 47%) |
| HSV | hsv(271, 95%, 89%) |
| CMYK | cmyk(46.5%, 94.7%, 0%, 11.4%) |
| CIE-LAB | lab(37.51, 75.12, -82.53) |
| CIE-LCH | lch(37.51, 111.59, 312.31°) |
| OKLab | oklab(49.7% 0.119 -0.2367) |
| OKLCH | oklch(49.7% 0.265 296.7) |
| XYZ | xyz(21.7404, 9.8184, 72.6864) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply Blue
#661AEE
ΔE00 2.81
Blue Violet
#5D06E9
ΔE00 3.70
Blue Purple
#5A06EF
ΔE00 4.00
Purplish Blue
#601EF9
ΔE00 4.08
Burple
#6832E3
ΔE00 4.10
Purple Blue
#5D21D0
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#790CE2 #75E20C
analogous
#0E0CE2 #790CE2 #E20CE0
triadic
#790CE2 #E2790C #0CE279
tetradic
#790CE2 #E20E0C #75E20C #0CE0E2
square
#790CE2 #E20E0C #75E20C #0CE0E2
split-complementary
#790CE2 #E0E20C #0CE20E
monochromatic
#3B066E #5A09A8 #790CE2 #9737F4 #B571F7
Accessibility & contrast
On white
7.09
#790CE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#790CE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #790CE2
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##790CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##790CE2 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#0056DF
Tritanopia (blue-blind)
#5B5985
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #790ce2; /* rgb */ color: rgb(121, 12, 226); /* oklch */ color: oklch(49.7% 0.265 296.7);
Tailwind
colors: {
custom: {
50: '#ab66ed',
500: '#790ce2',
950: '#000000',
},
}SCSS
$custom: #790ce2; $custom-light: #ab66ed; $custom-dark: #000000;
JSON
{
"hex": "#790ce2",
"rgb": {
"r": 121,
"g": 12,
"b": 226
},
"hsl": {
"h": 270.561,
"s": 89.916,
"l": 46.667
},
"oklch": {
"l": 0.49704,
"c": 0.26497,
"h": 296.7
},
"luminance": 0.09819
}Semantic roles & 50–950 ramp
primary
#790CE2
secondary
#A4DE6C
accent
#FF2992
background
#FBF6FE
surface
#F6EBFD
border
#D0C6D5
text
#110716
muted
#807A84