#793AC3#793AC3
#793AC3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.202 H 300.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #793AC3 |
|---|---|
| RGB | rgb(121, 58, 195) |
| HSL | hsl(268, 54%, 50%) |
| HSV | hsv(268, 70%, 76%) |
| CMYK | cmyk(37.9%, 70.3%, 0%, 23.5%) |
| CIE-LAB | lab(39.63, 53.81, -61.14) |
| CIE-LCH | lch(39.63, 81.45, 311.35°) |
| OKLab | oklab(50.35% 0.1015 -0.1744) |
| OKLCH | oklch(50.35% 0.202 300.2) |
| XYZ | xyz(19.2461, 11.0310, 52.7344) |
| Luminance | 0.1103 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.32
Blueviolet
#8A2BE2
ΔE00 4.71
Burple
#6832E3
ΔE00 5.18
Bluish Purple
#703BE7
ΔE00 5.19
Darkorchid
#9932CC
ΔE00 5.56
Darkviolet
#9400D3
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793AC3 #84C33A
analogous
#3A40C3 #793AC3 #BD3AC3
triadic
#793AC3 #C3793A #3AC379
tetradic
#793AC3 #C33A40 #84C33A #3AC3BD
square
#793AC3 #C33A40 #84C33A #3AC3BD
split-complementary
#793AC3 #C3BD3A #40C33A
monochromatic
#3E1E65 #5C2C94 #793AC3 #9968D2 #B997E0
Accessibility & contrast
On white
6.55
#793AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#793AC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793AC3
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793AC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793AC3 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#685B7A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #793ac3; /* rgb */ color: rgb(121, 58, 195); /* oklch */ color: oklch(50.3% 0.202 300.2);
Tailwind
colors: {
custom: {
50: '#a675d6',
500: '#793ac3',
950: '#000000',
},
}SCSS
$custom: #793ac3; $custom-light: #a675d6; $custom-dark: #000000;
JSON
{
"hex": "#793ac3",
"rgb": {
"r": 121,
"g": 58,
"b": 195
},
"hsl": {
"h": 267.591,
"s": 54.15,
"l": 49.608
},
"oklch": {
"l": 0.50345,
"c": 0.20176,
"h": 300.2
},
"luminance": 0.11031
}Semantic roles & 50–950 ramp
primary
#793AC3
secondary
#AFCC8D
accent
#DE4A9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83