#793FC7#793FC7
#793FC7 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.200 H 298.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #793FC7 |
|---|---|
| RGB | rgb(121, 63, 199) |
| HSL | hsl(266, 55%, 51%) |
| HSV | hsv(266, 68%, 78%) |
| CMYK | cmyk(39.2%, 68.3%, 0%, 22%) |
| CIE-LAB | lab(40.80, 52.39, -61.57) |
| CIE-LCH | lch(40.80, 80.84, 310.40°) |
| OKLab | oklab(51.28% 0.0958 -0.1756) |
| OKLCH | oklch(51.28% 0.2 298.6) |
| XYZ | xyz(19.9689, 11.7432, 55.2364) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.98
Bluish Purple
#703BE7
ΔE00 4.56
Blueviolet
#8A2BE2
ΔE00 4.62
Burple
#6832E3
ΔE00 5.05
Darkorchid
#9932CC
ΔE00 5.64
Purpley Blue
#5F34E7
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793FC7 #8DC73F
analogous
#3F49C7 #793FC7 #BD3FC7
triadic
#793FC7 #C7793F #3FC779
tetradic
#793FC7 #C73F49 #8DC73F #3FC7BD
square
#793FC7 #C73F49 #8DC73F #3FC7BD
split-complementary
#793FC7 #C7BD3F #49C73F
monochromatic
#40206C #5C2D9B #793FC7 #9A6ED5 #BB9EE3
Accessibility & contrast
On white
6.27
#793FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#793FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793FC7
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793FC7 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#665F7E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #793fc7; /* rgb */ color: rgb(121, 63, 199); /* oklch */ color: oklch(51.3% 0.200 298.6);
Tailwind
colors: {
custom: {
50: '#a678d9',
500: '#793fc7',
950: '#000000',
},
}SCSS
$custom: #793fc7; $custom-light: #a678d9; $custom-dark: #000000;
JSON
{
"hex": "#793fc7",
"rgb": {
"r": 121,
"g": 63,
"b": 199
},
"hsl": {
"h": 265.588,
"s": 54.839,
"l": 51.373
},
"oklch": {
"l": 0.51276,
"c": 0.20007,
"h": 298.6
},
"luminance": 0.11743
}Semantic roles & 50–950 ramp
primary
#793FC7
secondary
#B5CF93
accent
#DE4A9F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83