#794FC6#794FC6
#794FC6 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.178 H 296.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #794FC6 |
|---|---|
| RGB | rgb(121, 79, 198) |
| HSL | hsl(261, 51%, 54%) |
| HSV | hsv(261, 60%, 78%) |
| CMYK | cmyk(38.9%, 60.1%, 0%, 22.4%) |
| CIE-LAB | lab(43.85, 43.69, -56.06) |
| CIE-LCH | lch(43.85, 71.07, 307.93°) |
| OKLab | oklab(53.45% 0.0782 -0.1595) |
| OKLCH | oklch(53.45% 0.178 296.1) |
| XYZ | xyz(20.8715, 13.7337, 54.9664) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.38
Slate Blue
#6A5ACD
ΔE00 4.67
Royal Purple
#7851A9
ΔE00 5.05
Iris
#6258C4
ΔE00 5.36
Bluey Purple
#6241C7
ΔE00 5.41
Purpley
#8756E4
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794FC6 #9CC64F
analogous
#4F61C6 #794FC6 #B44FC6
triadic
#794FC6 #C6794F #4FC679
tetradic
#794FC6 #C64F61 #9CC64F #4FC6B4
square
#794FC6 #C64F61 #9CC64F #4FC6B4
split-complementary
#794FC6 #C6B44F #61C64F
monochromatic
#422675 #5C35A3 #794FC6 #9C7DD5 #BFABE4
Accessibility & contrast
On white
5.60
#794FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#794FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794FC6
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794FC6 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CA
Deuteranopia (green-blind)
#1766C3
Tritanopia (blue-blind)
#666983
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #794fc6; /* rgb */ color: rgb(121, 79, 198); /* oklch */ color: oklch(53.5% 0.178 296.1);
Tailwind
colors: {
custom: {
50: '#a582d8',
500: '#794fc6',
950: '#000000',
},
}SCSS
$custom: #794fc6; $custom-light: #a582d8; $custom-dark: #000000;
JSON
{
"hex": "#794fc6",
"rgb": {
"r": 121,
"g": 79,
"b": 198
},
"hsl": {
"h": 261.176,
"s": 51.073,
"l": 54.314
},
"oklch": {
"l": 0.53453,
"c": 0.17763,
"h": 296.1
},
"luminance": 0.13734
}Semantic roles & 50–950 ramp
primary
#794FC6
secondary
#C0D29F
accent
#DB4DA9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83