#793AC2#793AC2
#793AC2 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.201 H 300.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #793AC2 |
|---|---|
| RGB | rgb(121, 58, 194) |
| HSL | hsl(268, 54%, 49%) |
| HSV | hsv(268, 70%, 76%) |
| CMYK | cmyk(37.6%, 70.1%, 0%, 23.9%) |
| CIE-LAB | lab(39.56, 53.57, -60.68) |
| CIE-LCH | lch(39.56, 80.94, 311.44°) |
| OKLab | oklab(50.27% 0.1017 -0.173) |
| OKLCH | oklch(50.27% 0.201 300.4) |
| XYZ | xyz(19.1334, 10.9859, 52.1409) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.38
Blueviolet
#8A2BE2
ΔE00 4.82
Burple
#6832E3
ΔE00 5.31
Bluish Purple
#703BE7
ΔE00 5.33
Darkorchid
#9932CC
ΔE00 5.58
Darkviolet
#9400D3
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793AC2 #83C23A
analogous
#3A3FC2 #793AC2 #BD3AC2
triadic
#793AC2 #C2793A #3AC279
tetradic
#793AC2 #C23A3F #83C23A #3AC2BD
square
#793AC2 #C23A3F #83C23A #3AC2BD
split-complementary
#793AC2 #C2BD3A #3FC23A
monochromatic
#3E1E64 #5C2C93 #793AC2 #9967D2 #B997E0
Accessibility & contrast
On white
6.57
#793AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#793AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793AC2
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793AC2 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#695B7A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #793ac2; /* rgb */ color: rgb(121, 58, 194); /* oklch */ color: oklch(50.3% 0.201 300.4);
Tailwind
colors: {
custom: {
50: '#a675d5',
500: '#793ac2',
950: '#000000',
},
}SCSS
$custom: #793ac2; $custom-light: #a675d5; $custom-dark: #000000;
JSON
{
"hex": "#793ac2",
"rgb": {
"r": 121,
"g": 58,
"b": 194
},
"hsl": {
"h": 267.794,
"s": 53.968,
"l": 49.412
},
"oklch": {
"l": 0.50267,
"c": 0.20068,
"h": 300.4
},
"luminance": 0.10986
}Semantic roles & 50–950 ramp
primary
#793AC2
secondary
#AECB8D
accent
#DD4A99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83