#793FC3#793FC3
#793FC3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.196 H 299.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #793FC3 |
|---|---|
| RGB | rgb(121, 63, 195) |
| HSL | hsl(266, 52%, 51%) |
| HSV | hsv(266, 68%, 76%) |
| CMYK | cmyk(37.9%, 67.7%, 0%, 23.5%) |
| CIE-LAB | lab(40.51, 51.38, -59.72) |
| CIE-LCH | lch(40.51, 78.78, 310.71°) |
| OKLab | oklab(50.97% 0.0964 -0.1702) |
| OKLCH | oklch(50.97% 0.196 299.5) |
| XYZ | xyz(19.5105, 11.5599, 52.8225) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.14
Blueviolet
#8A2BE2
ΔE00 5.01
Bluish Purple
#703BE7
ΔE00 5.13
Burple
#6832E3
ΔE00 5.50
Darkorchid
#9932CC
ΔE00 5.65
Blurple
#5539CC
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793FC3 #89C33F
analogous
#3F47C3 #793FC3 #BB3FC3
triadic
#793FC3 #C3793F #3FC379
tetradic
#793FC3 #C33F47 #89C33F #3FC3BB
square
#793FC3 #C33F47 #89C33F #3FC3BB
split-complementary
#793FC3 #C3BB3F #47C33F
monochromatic
#3F2067 #5C2F96 #793FC3 #9A6ED2 #BA9CE0
Accessibility & contrast
On white
6.34
#793FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#793FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793FC3
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793FC3 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#685E7C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #793fc3; /* rgb */ color: rgb(121, 63, 195); /* oklch */ color: oklch(51.0% 0.196 299.5);
Tailwind
colors: {
custom: {
50: '#a578d6',
500: '#793fc3',
950: '#000000',
},
}SCSS
$custom: #793fc3; $custom-light: #a578d6; $custom-dark: #000000;
JSON
{
"hex": "#793fc3",
"rgb": {
"r": 121,
"g": 63,
"b": 195
},
"hsl": {
"h": 266.364,
"s": 52.381,
"l": 50.588
},
"oklch": {
"l": 0.5097,
"c": 0.19561,
"h": 299.5
},
"luminance": 0.1156
}Semantic roles & 50–950 ramp
primary
#793FC3
secondary
#B2CC92
accent
#DC4C9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83