#793CB6#793CB6
#793CB6 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.185 H 303.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #793CB6 |
|---|---|
| RGB | rgb(121, 60, 182) |
| HSL | hsl(270, 50%, 47%) |
| HSV | hsv(270, 67%, 71%) |
| CMYK | cmyk(33.5%, 67%, 0%, 28.6%) |
| CIE-LAB | lab(39.03, 49.65, -54.50) |
| CIE-LCH | lch(39.03, 73.72, 312.33°) |
| OKLab | oklab(49.61% 0.1012 -0.1549) |
| OKLCH | oklch(49.61% 0.185 303.2) |
| XYZ | xyz(17.9426, 10.6741, 45.3619) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.31
Rebeccapurple
#663399
ΔE00 5.65
Royal Purple
#7851A9
ΔE00 5.91
Darkorchid
#9932CC
ΔE00 5.97
Blueviolet
#8A2BE2
ΔE00 6.38
Purply
#983FB2
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793CB6 #79B63C
analogous
#3C3CB6 #793CB6 #B63CB6
triadic
#793CB6 #B6793C #3CB679
tetradic
#793CB6 #B63C3C #79B63C #3CB6B6
square
#793CB6 #B63C3C #79B63C #3CB6B6
split-complementary
#793CB6 #B6B63C #3CB63C
monochromatic
#3C1E5A #5A2D88 #793CB6 #9863CC #B691DB
Accessibility & contrast
On white
6.70
#793CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#793CB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793CB6
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793CB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793CB6 | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#085CB3
Tritanopia (blue-blind)
#6D5774
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #793cb6; /* rgb */ color: rgb(121, 60, 182); /* oklch */ color: oklch(49.6% 0.185 303.2);
Tailwind
colors: {
custom: {
50: '#a476cd',
500: '#793cb6',
950: '#000000',
},
}SCSS
$custom: #793cb6; $custom-light: #a476cd; $custom-dark: #000000;
JSON
{
"hex": "#793cb6",
"rgb": {
"r": 121,
"g": 60,
"b": 182
},
"hsl": {
"h": 270,
"s": 50.413,
"l": 47.451
},
"oklch": {
"l": 0.4961,
"c": 0.18501,
"h": 303.2
},
"luminance": 0.10674
}Semantic roles & 50–950 ramp
primary
#793CB6
secondary
#A7C688
accent
#DA4E94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82