#793FC4#793FC4
#793FC4 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.197 H 299.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #793FC4 |
|---|---|
| RGB | rgb(121, 63, 196) |
| HSL | hsl(266, 53%, 51%) |
| HSV | hsv(266, 68%, 77%) |
| CMYK | cmyk(38.3%, 67.9%, 0%, 23.1%) |
| CIE-LAB | lab(40.58, 51.63, -60.19) |
| CIE-LCH | lch(40.58, 79.30, 310.63°) |
| OKLab | oklab(51.05% 0.0962 -0.1716) |
| OKLCH | oklch(51.05% 0.197 299.3) |
| XYZ | xyz(19.6240, 11.6053, 53.4200) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.09
Blueviolet
#8A2BE2
ΔE00 4.91
Bluish Purple
#703BE7
ΔE00 4.98
Burple
#6832E3
ΔE00 5.39
Darkorchid
#9932CC
ΔE00 5.64
Blurple
#5539CC
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793FC4 #8AC43F
analogous
#3F47C4 #793FC4 #BB3FC4
triadic
#793FC4 #C4793F #3FC479
tetradic
#793FC4 #C43F47 #8AC43F #3FC4BB
square
#793FC4 #C43F47 #8AC43F #3FC4BB
split-complementary
#793FC4 #C4BB3F #47C43F
monochromatic
#402068 #5C2E97 #793FC4 #9A6ED2 #BA9DE1
Accessibility & contrast
On white
6.32
#793FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#793FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793FC4
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793FC4 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#685E7C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #793fc4; /* rgb */ color: rgb(121, 63, 196); /* oklch */ color: oklch(51.0% 0.197 299.3);
Tailwind
colors: {
custom: {
50: '#a578d7',
500: '#793fc4',
950: '#000000',
},
}SCSS
$custom: #793fc4; $custom-light: #a578d7; $custom-dark: #000000;
JSON
{
"hex": "#793fc4",
"rgb": {
"r": 121,
"g": 63,
"b": 196
},
"hsl": {
"h": 266.165,
"s": 52.988,
"l": 50.784
},
"oklch": {
"l": 0.51046,
"c": 0.19673,
"h": 299.3
},
"luminance": 0.11605
}Semantic roles & 50–950 ramp
primary
#793FC4
secondary
#B3CD92
accent
#DC4B9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83