#794AC0#794AC0
#794AC0 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.177 H 298.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #794AC0 |
|---|---|
| RGB | rgb(121, 74, 192) |
| HSL | hsl(264, 48%, 52%) |
| HSV | hsv(264, 61%, 75%) |
| CMYK | cmyk(37%, 61.5%, 0%, 24.7%) |
| CIE-LAB | lab(42.41, 44.86, -54.89) |
| CIE-LCH | lch(42.41, 70.89, 309.25°) |
| OKLab | oklab(52.28% 0.0843 -0.1561) |
| OKLCH | oklch(52.28% 0.177 298.4) |
| XYZ | xyz(19.8460, 12.7680, 51.2778) |
| Luminance | 0.1277 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.51
Bluey Purple
#6241C7
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 5.85
Slate Blue
#6A5ACD
ΔE00 6.06
Bluish Purple
#703BE7
ΔE00 6.21
Iris
#6258C4
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794AC0 #91C04A
analogous
#4A56C0 #794AC0 #B44AC0
triadic
#794AC0 #C0794A #4AC079
tetradic
#794AC0 #C04A56 #91C04A #4AC0B4
square
#794AC0 #C04A56 #91C04A #4AC0B4
split-complementary
#794AC0 #C0B44A #56C04A
monochromatic
#41256B #5C3598 #794AC0 #9B77D0 #BCA5E0
Accessibility & contrast
On white
5.91
#794AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#794AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794AC0
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794AC0 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#1863BD
Tritanopia (blue-blind)
#69647E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #794ac0; /* rgb */ color: rgb(121, 74, 192); /* oklch */ color: oklch(52.3% 0.177 298.4);
Tailwind
colors: {
custom: {
50: '#a47fd4',
500: '#794ac0',
950: '#000000',
},
}SCSS
$custom: #794ac0; $custom-light: #a47fd4; $custom-dark: #000000;
JSON
{
"hex": "#794ac0",
"rgb": {
"r": 121,
"g": 74,
"b": 192
},
"hsl": {
"h": 263.898,
"s": 48.361,
"l": 52.157
},
"oklch": {
"l": 0.52277,
"c": 0.17739,
"h": 298.4
},
"luminance": 0.12768
}Semantic roles & 50–950 ramp
primary
#794AC0
secondary
#B8CD99
accent
#D850A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83