#794FC0#794FC0
#794FC0 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.170 H 297.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #794FC0 |
|---|---|
| RGB | rgb(121, 79, 192) |
| HSL | hsl(262, 47%, 53%) |
| HSV | hsv(262, 59%, 75%) |
| CMYK | cmyk(37%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(43.45, 42.09, -53.22) |
| CIE-LCH | lch(43.45, 67.85, 308.34°) |
| OKLab | oklab(53.04% 0.0784 -0.1511) |
| OKLCH | oklch(53.04% 0.17 297.4) |
| XYZ | xyz(20.1932, 13.4624, 51.3936) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 4.90
Slate Blue
#6A5ACD
ΔE00 5.14
Iris
#6258C4
ΔE00 5.60
Bluey Purple
#6241C7
ΔE00 5.63
Purpley
#8756E4
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794FC0 #96C04F
analogous
#4F5DC0 #794FC0 #B14FC0
triadic
#794FC0 #C0794F #4FC079
tetradic
#794FC0 #C04F5D #96C04F #4FC0B1
square
#794FC0 #C04F5D #96C04F #4FC0B1
split-complementary
#794FC0 #C0B14F #5DC04F
monochromatic
#41276D #5C379A #794FC0 #9B7CD0 #BEA9E0
Accessibility & contrast
On white
5.69
#794FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#794FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794FC0
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794FC0 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B67C4
Deuteranopia (green-blind)
#2465BD
Tritanopia (blue-blind)
#686780
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #794fc0; /* rgb */ color: rgb(121, 79, 192); /* oklch */ color: oklch(53.0% 0.170 297.4);
Tailwind
colors: {
custom: {
50: '#a482d4',
500: '#794fc0',
950: '#000000',
},
}SCSS
$custom: #794fc0; $custom-light: #a482d4; $custom-dark: #000000;
JSON
{
"hex": "#794fc0",
"rgb": {
"r": 121,
"g": 79,
"b": 192
},
"hsl": {
"h": 262.301,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.53036,
"c": 0.17025,
"h": 297.4
},
"luminance": 0.13463
}Semantic roles & 50–950 ramp
primary
#794FC0
secondary
#BCCE9D
accent
#D751A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83