#794CB6#794CB6
#794CB6 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.162 H 300.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #794CB6 |
|---|---|
| RGB | rgb(121, 76, 182) |
| HSL | hsl(265, 42%, 51%) |
| HSV | hsv(265, 58%, 71%) |
| CMYK | cmyk(33.5%, 58.2%, 0%, 28.6%) |
| CIE-LAB | lab(42.17, 41.16, -49.43) |
| CIE-LCH | lch(42.17, 64.32, 309.78°) |
| OKLab | oklab(51.89% 0.0822 -0.14) |
| OKLCH | oklch(51.89% 0.162 300.4) |
| XYZ | xyz(18.9111, 12.6111, 45.6848) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.82
Bluey Purple
#6241C7
ΔE00 5.98
Light Indigo
#6D5ACF
ΔE00 6.55
Slate Blue
#6A5ACD
ΔE00 6.69
Iris
#6258C4
ΔE00 6.78
Deep Lavender
#8D5EB7
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794CB6 #89B64C
analogous
#4C54B6 #794CB6 #AE4CB6
triadic
#794CB6 #B6794C #4CB679
tetradic
#794CB6 #B64C54 #89B64C #4CB6AE
square
#794CB6 #B64C54 #89B64C #4CB6AE
split-complementary
#794CB6 #B6AE4C #54B64C
monochromatic
#3F2760 #5C398C #794CB6 #9A77C8 #BAA3D9
Accessibility & contrast
On white
5.96
#794CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#794CB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794CB6
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794CB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794CB6 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1863B9
Deuteranopia (green-blind)
#2D63B4
Tritanopia (blue-blind)
#6C627A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #794cb6; /* rgb */ color: rgb(121, 76, 182); /* oklch */ color: oklch(51.9% 0.162 300.4);
Tailwind
colors: {
custom: {
50: '#a380cc',
500: '#794cb6',
950: '#000000',
},
}SCSS
$custom: #794cb6; $custom-light: #a380cc; $custom-dark: #000000;
JSON
{
"hex": "#794cb6",
"rgb": {
"r": 121,
"g": 76,
"b": 182
},
"hsl": {
"h": 265.472,
"s": 42.063,
"l": 50.588
},
"oklch": {
"l": 0.51892,
"c": 0.16234,
"h": 300.4
},
"luminance": 0.12611
}Semantic roles & 50–950 ramp
primary
#794CB6
secondary
#B2C697
accent
#D2569D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82