#794FC5#794FC5
#794FC5 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.176 H 296.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #794FC5 |
|---|---|
| RGB | rgb(121, 79, 197) |
| HSL | hsl(261, 50%, 54%) |
| HSV | hsv(261, 60%, 77%) |
| CMYK | cmyk(38.6%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(43.78, 43.42, -55.59) |
| CIE-LCH | lch(43.78, 70.54, 307.99°) |
| OKLab | oklab(53.38% 0.0782 -0.1581) |
| OKLCH | oklch(53.38% 0.176 296.3) |
| XYZ | xyz(20.7566, 13.6878, 54.3609) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.45
Slate Blue
#6A5ACD
ΔE00 4.74
Royal Purple
#7851A9
ΔE00 4.89
Iris
#6258C4
ΔE00 5.39
Bluey Purple
#6241C7
ΔE00 5.44
Purpley
#8756E4
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794FC5 #9BC54F
analogous
#4F60C5 #794FC5 #B44FC5
triadic
#794FC5 #C5794F #4FC579
tetradic
#794FC5 #C54F60 #9BC54F #4FC5B4
square
#794FC5 #C54F60 #9BC54F #4FC5B4
split-complementary
#794FC5 #C5B44F #60C54F
monochromatic
#422674 #5C35A2 #794FC5 #9C7DD4 #BFABE3
Accessibility & contrast
On white
5.62
#794FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#794FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794FC5
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794FC5 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#1A66C2
Tritanopia (blue-blind)
#666982
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #794fc5; /* rgb */ color: rgb(121, 79, 197); /* oklch */ color: oklch(53.4% 0.176 296.3);
Tailwind
colors: {
custom: {
50: '#a582d7',
500: '#794fc5',
950: '#000000',
},
}SCSS
$custom: #794fc5; $custom-light: #a582d7; $custom-dark: #000000;
JSON
{
"hex": "#794fc5",
"rgb": {
"r": 121,
"g": 79,
"b": 197
},
"hsl": {
"h": 261.356,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.53383,
"c": 0.1764,
"h": 296.3
},
"luminance": 0.13688
}Semantic roles & 50–950 ramp
primary
#794FC5
secondary
#BFD19F
accent
#DA4EA8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83