#794EA9#794EA9
#794EA9 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.143 H 303.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #794EA9 |
|---|---|
| RGB | rgb(121, 78, 169) |
| HSL | hsl(268, 37%, 48%) |
| HSV | hsv(268, 54%, 66%) |
| CMYK | cmyk(28.4%, 53.8%, 0%, 33.7%) |
| CIE-LAB | lab(41.81, 36.71, -42.34) |
| CIE-LCH | lch(41.81, 56.04, 310.93°) |
| OKLab | oklab(51.37% 0.0792 -0.1192) |
| OKLCH | oklch(51.37% 0.143 303.6) |
| XYZ | xyz(17.7694, 12.3783, 38.9815) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 0.92
Deep Lavender
#8D5EB7
ΔE00 6.31
Purply
#983FB2
ΔE00 6.78
Rebeccapurple
#663399
ΔE00 7.86
Bluey Purple
#6241C7
ΔE00 7.93
Iris
#6258C4
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794EA9 #7EA94E
analogous
#4E50A9 #794EA9 #A64EA9
triadic
#794EA9 #A9794E #4EA979
tetradic
#794EA9 #A94E50 #7EA94E #4EA9A6
square
#794EA9 #A94E50 #7EA94E #4EA9A6
split-complementary
#794EA9 #A9A64E #50A94E
monochromatic
#3D2755 #5B3B7F #794EA9 #9875BF #B79FD3
Accessibility & contrast
On white
6.04
#794EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#794EA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794EA9
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794EA9 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F62AC
Deuteranopia (green-blind)
#3C63A7
Tritanopia (blue-blind)
#705F74
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #794ea9; /* rgb */ color: rgb(121, 78, 169); /* oklch */ color: oklch(51.4% 0.143 303.6);
Tailwind
colors: {
custom: {
50: '#a281c3',
500: '#794ea9',
950: '#000000',
},
}SCSS
$custom: #794ea9; $custom-light: #a281c3; $custom-dark: #000000;
JSON
{
"hex": "#794ea9",
"rgb": {
"r": 121,
"g": 78,
"b": 169
},
"hsl": {
"h": 268.352,
"s": 36.842,
"l": 48.431
},
"oklch": {
"l": 0.51372,
"c": 0.1431,
"h": 303.6
},
"luminance": 0.12378
}Semantic roles & 50–950 ramp
primary
#794EA9
secondary
#ABBF93
accent
#CD5B97
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A12
muted
#7F7C81