#794CA9#794CA9
#794CA9 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.0% C 0.146 H 304.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #794CA9 |
|---|---|
| RGB | rgb(121, 76, 169) |
| HSL | hsl(269, 38%, 48%) |
| HSV | hsv(269, 55%, 66%) |
| CMYK | cmyk(28.4%, 55%, 0%, 33.7%) |
| CIE-LAB | lab(41.37, 37.85, -43.04) |
| CIE-LCH | lch(41.37, 57.32, 311.33°) |
| OKLab | oklab(51.05% 0.0819 -0.1213) |
| OKLCH | oklch(51.05% 0.146 304) |
| XYZ | xyz(17.6295, 12.0985, 38.9349) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.48
Purply
#983FB2
ΔE00 6.53
Deep Lavender
#8D5EB7
ΔE00 6.71
Rebeccapurple
#663399
ΔE00 7.38
Bluey Purple
#6241C7
ΔE00 7.68
Darkorchid
#9932CC
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794CA9 #7CA94C
analogous
#4C4EA9 #794CA9 #A74CA9
triadic
#794CA9 #A9794C #4CA979
tetradic
#794CA9 #A94C4E #7CA94C #4CA9A7
square
#794CA9 #A94C4E #7CA94C #4CA9A7
split-complementary
#794CA9 #A9A74C #4EA94C
monochromatic
#3D2655 #5B397F #794CA9 #9872C0 #B79DD3
Accessibility & contrast
On white
6.14
#794CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#794CA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794CA9
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794CA9 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B60AC
Deuteranopia (green-blind)
#3A62A7
Tritanopia (blue-blind)
#715E73
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #794ca9; /* rgb */ color: rgb(121, 76, 169); /* oklch */ color: oklch(51.0% 0.146 304.0);
Tailwind
colors: {
custom: {
50: '#a280c3',
500: '#794ca9',
950: '#000000',
},
}SCSS
$custom: #794ca9; $custom-light: #a280c3; $custom-dark: #000000;
JSON
{
"hex": "#794ca9",
"rgb": {
"r": 121,
"g": 76,
"b": 169
},
"hsl": {
"h": 269.032,
"s": 37.959,
"l": 48.039
},
"oklch": {
"l": 0.51048,
"c": 0.14632,
"h": 304
},
"luminance": 0.12098
}Semantic roles & 50–950 ramp
primary
#794CA9
secondary
#A9BF91
accent
#CE5A96
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A12
muted
#7F7C81