#793FC5#793FC5
#793FC5 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.198 H 299.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #793FC5 |
|---|---|
| RGB | rgb(121, 63, 197) |
| HSL | hsl(266, 54%, 51%) |
| HSV | hsv(266, 68%, 77%) |
| CMYK | cmyk(38.6%, 68%, 0%, 22.7%) |
| CIE-LAB | lab(40.66, 51.89, -60.65) |
| CIE-LCH | lch(40.66, 79.81, 310.55°) |
| OKLab | oklab(51.12% 0.0961 -0.1729) |
| OKLCH | oklch(51.12% 0.198 299.1) |
| XYZ | xyz(19.7382, 11.6509, 54.0214) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.05
Blueviolet
#8A2BE2
ΔE00 4.81
Bluish Purple
#703BE7
ΔE00 4.84
Burple
#6832E3
ΔE00 5.27
Darkorchid
#9932CC
ΔE00 5.64
Blurple
#5539CC
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793FC5 #8BC53F
analogous
#3F48C5 #793FC5 #BC3FC5
triadic
#793FC5 #C5793F #3FC579
tetradic
#793FC5 #C53F48 #8BC53F #3FC5BC
square
#793FC5 #C53F48 #8BC53F #3FC5BC
split-complementary
#793FC5 #C5BC3F #48C53F
monochromatic
#40206A #5C2E99 #793FC5 #9A6ED3 #BB9DE1
Accessibility & contrast
On white
6.31
#793FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#793FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793FC5
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793FC5 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#675F7D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #793fc5; /* rgb */ color: rgb(121, 63, 197); /* oklch */ color: oklch(51.1% 0.198 299.1);
Tailwind
colors: {
custom: {
50: '#a578d7',
500: '#793fc5',
950: '#000000',
},
}SCSS
$custom: #793fc5; $custom-light: #a578d7; $custom-dark: #000000;
JSON
{
"hex": "#793fc5",
"rgb": {
"r": 121,
"g": 63,
"b": 197
},
"hsl": {
"h": 265.97,
"s": 53.6,
"l": 50.98
},
"oklch": {
"l": 0.51122,
"c": 0.19785,
"h": 299.1
},
"luminance": 0.11651
}Semantic roles & 50–950 ramp
primary
#793FC5
secondary
#B4CE92
accent
#DD4B9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83