#794FC2#794FC2
#794FC2 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.173 H 297.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #794FC2 |
|---|---|
| RGB | rgb(121, 79, 194) |
| HSL | hsl(262, 49%, 54%) |
| HSV | hsv(262, 59%, 76%) |
| CMYK | cmyk(37.6%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(43.58, 42.62, -54.17) |
| CIE-LCH | lch(43.58, 68.93, 308.20°) |
| OKLab | oklab(53.17% 0.0783 -0.1539) |
| OKLCH | oklch(53.17% 0.173 297) |
| XYZ | xyz(20.4163, 13.5516, 52.5686) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.43
Light Indigo
#6D5ACF
ΔE00 4.71
Slate Blue
#6A5ACD
ΔE00 4.96
Iris
#6258C4
ΔE00 5.50
Bluey Purple
#6241C7
ΔE00 5.54
Purpley
#8756E4
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794FC2 #98C24F
analogous
#4F5EC2 #794FC2 #B24FC2
triadic
#794FC2 #C2794F #4FC279
tetradic
#794FC2 #C24F5E #98C24F #4FC2B2
square
#794FC2 #C24F5E #98C24F #4FC2B2
split-complementary
#794FC2 #C2B24F #5EC24F
monochromatic
#412770 #5C379D #794FC2 #9C7CD2 #BEAAE2
Accessibility & contrast
On white
5.66
#794FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#794FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794FC2
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794FC2 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0367C6
Deuteranopia (green-blind)
#2066BF
Tritanopia (blue-blind)
#686881
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #794fc2; /* rgb */ color: rgb(121, 79, 194); /* oklch */ color: oklch(53.2% 0.173 297.0);
Tailwind
colors: {
custom: {
50: '#a482d5',
500: '#794fc2',
950: '#000000',
},
}SCSS
$custom: #794fc2; $custom-light: #a482d5; $custom-dark: #000000;
JSON
{
"hex": "#794fc2",
"rgb": {
"r": 121,
"g": 79,
"b": 194
},
"hsl": {
"h": 261.913,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.53174,
"c": 0.1727,
"h": 297
},
"luminance": 0.13552
}Semantic roles & 50–950 ramp
primary
#794FC2
secondary
#BDCF9E
accent
#D850A6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83