#794DC6#794DC6
#794DC6 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.180 H 296.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #794DC6 |
|---|---|
| RGB | rgb(121, 77, 198) |
| HSL | hsl(262, 51%, 54%) |
| HSV | hsv(262, 61%, 78%) |
| CMYK | cmyk(38.9%, 61.1%, 0%, 22.4%) |
| CIE-LAB | lab(43.43, 44.79, -56.73) |
| CIE-LCH | lch(43.43, 72.28, 308.29°) |
| OKLab | oklab(53.15% 0.0805 -0.1615) |
| OKLCH | oklch(53.15% 0.18 296.5) |
| XYZ | xyz(20.7294, 13.4495, 54.9190) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.78
Slate Blue
#6A5ACD
ΔE00 5.05
Bluey Purple
#6241C7
ΔE00 5.08
Royal Purple
#7851A9
ΔE00 5.13
Iris
#6258C4
ΔE00 5.66
Purpley
#8756E4
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794DC6 #9AC64D
analogous
#4D5EC6 #794DC6 #B64DC6
triadic
#794DC6 #C6794D #4DC679
tetradic
#794DC6 #C64D5E #9AC64D #4DC6B6
square
#794DC6 #C64D5E #9AC64D #4DC6B6
split-complementary
#794DC6 #C6B64D #5EC64D
monochromatic
#422574 #5C34A2 #794DC6 #9C7BD5 #BFAAE4
Accessibility & contrast
On white
5.69
#794DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#794DC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794DC6
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794DC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794DC6 | 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)
#0067CA
Deuteranopia (green-blind)
#1065C3
Tritanopia (blue-blind)
#666882
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #794dc6; /* rgb */ color: rgb(121, 77, 198); /* oklch */ color: oklch(53.1% 0.180 296.5);
Tailwind
colors: {
custom: {
50: '#a581d8',
500: '#794dc6',
950: '#000000',
},
}SCSS
$custom: #794dc6; $custom-light: #a581d8; $custom-dark: #000000;
JSON
{
"hex": "#794dc6",
"rgb": {
"r": 121,
"g": 77,
"b": 198
},
"hsl": {
"h": 261.818,
"s": 51.489,
"l": 53.922
},
"oklch": {
"l": 0.5315,
"c": 0.18043,
"h": 296.5
},
"luminance": 0.1345
}Semantic roles & 50–950 ramp
primary
#794DC6
secondary
#BED19E
accent
#DB4DA7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83