#793FC2#793FC2
#793FC2 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.194 H 299.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #793FC2 |
|---|---|
| RGB | rgb(121, 63, 194) |
| HSL | hsl(267, 52%, 50%) |
| HSV | hsv(267, 68%, 76%) |
| CMYK | cmyk(37.6%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(40.43, 51.13, -59.26) |
| CIE-LCH | lch(40.43, 78.27, 310.79°) |
| OKLab | oklab(50.89% 0.0965 -0.1689) |
| OKLCH | oklch(50.89% 0.194 299.7) |
| XYZ | xyz(19.3979, 11.5148, 52.2291) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.19
Blueviolet
#8A2BE2
ΔE00 5.11
Bluish Purple
#703BE7
ΔE00 5.27
Burple
#6832E3
ΔE00 5.62
Darkorchid
#9932CC
ΔE00 5.65
Blurple
#5539CC
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793FC2 #88C23F
analogous
#3F46C2 #793FC2 #BB3FC2
triadic
#793FC2 #C2793F #3FC279
tetradic
#793FC2 #C23F46 #88C23F #3FC2BB
square
#793FC2 #C23F46 #88C23F #3FC2BB
split-complementary
#793FC2 #C2BB3F #46C23F
monochromatic
#3F2066 #5C2F95 #793FC2 #996DD1 #BA9CE0
Accessibility & contrast
On white
6.36
#793FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#793FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793FC2
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793FC2 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#685E7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #793fc2; /* rgb */ color: rgb(121, 63, 194); /* oklch */ color: oklch(50.9% 0.194 299.7);
Tailwind
colors: {
custom: {
50: '#a578d5',
500: '#793fc2',
950: '#000000',
},
}SCSS
$custom: #793fc2; $custom-light: #a578d5; $custom-dark: #000000;
JSON
{
"hex": "#793fc2",
"rgb": {
"r": 121,
"g": 63,
"b": 194
},
"hsl": {
"h": 266.565,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.50894,
"c": 0.19448,
"h": 299.7
},
"luminance": 0.11515
}Semantic roles & 50–950 ramp
primary
#793FC2
secondary
#B2CC91
accent
#DB4D9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83