#794DC7#794DC7
#794DC7 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.182 H 296.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #794DC7 |
|---|---|
| RGB | rgb(121, 77, 199) |
| HSL | hsl(262, 52%, 54%) |
| HSV | hsv(262, 61%, 78%) |
| CMYK | cmyk(39.2%, 61.3%, 0%, 22%) |
| CIE-LAB | lab(43.50, 45.06, -57.20) |
| CIE-LCH | lch(43.50, 72.82, 308.23°) |
| OKLab | oklab(53.22% 0.0805 -0.1628) |
| OKLCH | oklch(53.22% 0.182 296.3) |
| XYZ | xyz(20.8452, 13.4958, 55.5285) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.71
Slate Blue
#6A5ACD
ΔE00 4.99
Bluey Purple
#6241C7
ΔE00 5.06
Royal Purple
#7851A9
ΔE00 5.28
Purpley
#8756E4
ΔE00 5.55
Iris
#6258C4
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794DC7 #9BC74D
analogous
#4D5EC7 #794DC7 #B64DC7
triadic
#794DC7 #C7794D #4DC779
tetradic
#794DC7 #C74D5E #9BC74D #4DC7B6
square
#794DC7 #C74D5E #9BC74D #4DC7B6
split-complementary
#794DC7 #C7B64D #5EC74D
monochromatic
#422575 #5C33A3 #794DC7 #9C7CD6 #BFAAE4
Accessibility & contrast
On white
5.68
#794DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#794DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794DC7
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794DC7 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0D65C4
Tritanopia (blue-blind)
#666883
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #794dc7; /* rgb */ color: rgb(121, 77, 199); /* oklch */ color: oklch(53.2% 0.182 296.3);
Tailwind
colors: {
custom: {
50: '#a581d9',
500: '#794dc7',
950: '#000000',
},
}SCSS
$custom: #794dc7; $custom-light: #a581d9; $custom-dark: #000000;
JSON
{
"hex": "#794dc7",
"rgb": {
"r": 121,
"g": 77,
"b": 199
},
"hsl": {
"h": 261.639,
"s": 52.137,
"l": 54.118
},
"oklch": {
"l": 0.53221,
"c": 0.18165,
"h": 296.3
},
"luminance": 0.13496
}Semantic roles & 50–950 ramp
primary
#794DC7
secondary
#BFD29E
accent
#DC4CA8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83