#793FF0#793FF0
#793FF0 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.6% C 0.245 H 290.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #793FF0 |
|---|---|
| RGB | rgb(121, 63, 240) |
| HSL | hsl(260, 86%, 59%) |
| HSV | hsv(260, 74%, 94%) |
| CMYK | cmyk(49.6%, 73.8%, 0%, 5.9%) |
| CIE-LAB | lab(44.10, 62.93, -79.63) |
| CIE-LCH | lch(44.10, 101.50, 308.32°) |
| OKLab | oklab(54.64% 0.0875 -0.2287) |
| OKLCH | oklch(54.64% 0.245 290.9) |
| XYZ | xyz(25.3864, 13.9102, 83.7685) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.21
Purpleish Blue
#6140EF
ΔE00 3.31
Blueviolet
#8A2BE2
ΔE00 4.38
Burple
#6832E3
ΔE00 4.43
Purpley Blue
#5F34E7
ΔE00 4.83
Violet
#8F00FF
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793FF0 #B6F03F
analogous
#3F5EF0 #793FF0 #D23FF0
triadic
#793FF0 #F0793F #3FF079
tetradic
#793FF0 #F03F5E #B6F03F #3FF0D2
square
#793FF0 #F03F5E #B6F03F #3FF0D2
split-complementary
#793FF0 #F0D23F #5EF03F
monochromatic
#400DA8 #5512E0 #793FF0 #A178F4 #C8B1F9
Accessibility & contrast
On white
5.55
#793FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#793FF0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793FF0
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793FF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793FF0 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BF5
Deuteranopia (green-blind)
#0064ED
Tritanopia (blue-blind)
#506F95
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #793ff0; /* rgb */ color: rgb(121, 63, 240); /* oklch */ color: oklch(54.6% 0.245 290.9);
Tailwind
colors: {
custom: {
50: '#aa7af6',
500: '#793ff0',
950: '#000000',
},
}SCSS
$custom: #793ff0; $custom-light: #aa7af6; $custom-dark: #000000;
JSON
{
"hex": "#793ff0",
"rgb": {
"r": 121,
"g": 63,
"b": 240
},
"hsl": {
"h": 259.661,
"s": 85.507,
"l": 59.412
},
"oklch": {
"l": 0.54635,
"c": 0.24488,
"h": 290.9
},
"luminance": 0.13911
}Semantic roles & 50–950 ramp
primary
#793FF0
secondary
#D1E8A3
accent
#FC2CB8
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85