#794FC4#794FC4
#794FC4 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.175 H 296.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #794FC4 |
|---|---|
| RGB | rgb(121, 79, 196) |
| HSL | hsl(262, 50%, 54%) |
| HSV | hsv(262, 60%, 77%) |
| CMYK | cmyk(38.3%, 59.7%, 0%, 23.1%) |
| CIE-LAB | lab(43.72, 43.15, -55.12) |
| CIE-LCH | lch(43.72, 70.00, 308.06°) |
| OKLab | oklab(53.31% 0.0783 -0.1567) |
| OKLCH | oklch(53.31% 0.175 296.5) |
| XYZ | xyz(20.6424, 13.6421, 53.7595) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.53
Royal Purple
#7851A9
ΔE00 4.74
Slate Blue
#6A5ACD
ΔE00 4.81
Iris
#6258C4
ΔE00 5.42
Bluey Purple
#6241C7
ΔE00 5.47
Purpley
#8756E4
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794FC4 #9AC44F
analogous
#4F60C4 #794FC4 #B34FC4
triadic
#794FC4 #C4794F #4FC479
tetradic
#794FC4 #C44F60 #9AC44F #4FC4B3
square
#794FC4 #C44F60 #9AC44F #4FC4B3
split-complementary
#794FC4 #C4B34F #60C44F
monochromatic
#422672 #5C36A0 #794FC4 #9C7DD3 #BFABE3
Accessibility & contrast
On white
5.63
#794FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#794FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794FC4
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794FC4 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#1C66C1
Tritanopia (blue-blind)
#676882
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #794fc4; /* rgb */ color: rgb(121, 79, 196); /* oklch */ color: oklch(53.3% 0.175 296.5);
Tailwind
colors: {
custom: {
50: '#a482d7',
500: '#794fc4',
950: '#000000',
},
}SCSS
$custom: #794fc4; $custom-light: #a482d7; $custom-dark: #000000;
JSON
{
"hex": "#794fc4",
"rgb": {
"r": 121,
"g": 79,
"b": 196
},
"hsl": {
"h": 261.538,
"s": 49.787,
"l": 53.922
},
"oklch": {
"l": 0.53313,
"c": 0.17517,
"h": 296.5
},
"luminance": 0.13642
}Semantic roles & 50–950 ramp
primary
#794FC4
secondary
#BED09E
accent
#D94EA7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83