#794CC4#794CC4
#794CC4 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.179 H 297.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #794CC4 |
|---|---|
| RGB | rgb(121, 76, 196) |
| HSL | hsl(263, 50%, 53%) |
| HSV | hsv(263, 61%, 77%) |
| CMYK | cmyk(38.3%, 61.2%, 0%, 23.1%) |
| CIE-LAB | lab(43.09, 44.81, -56.12) |
| CIE-LCH | lch(43.09, 71.82, 308.61°) |
| OKLab | oklab(52.86% 0.0818 -0.1597) |
| OKLCH | oklch(52.86% 0.179 297.1) |
| XYZ | xyz(20.4309, 13.2190, 53.6890) |
| Luminance | 0.1322 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.90
Bluey Purple
#6241C7
ΔE00 4.98
Light Indigo
#6D5ACF
ΔE00 5.13
Slate Blue
#6A5ACD
ΔE00 5.38
Iris
#6258C4
ΔE00 5.88
Bluish Purple
#703BE7
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794CC4 #97C44C
analogous
#4C5BC4 #794CC4 #B54CC4
triadic
#794CC4 #C4794C #4CC479
tetradic
#794CC4 #C44C5B #97C44C #4CC4B5
square
#794CC4 #C44C5B #97C44C #4CC4B5
split-complementary
#794CC4 #C4B54C #5BC44C
monochromatic
#412571 #5C349F #794CC4 #9B7AD3 #BEA8E2
Accessibility & contrast
On white
5.76
#794CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#794CC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794CC4
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794CC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794CC4 | 1.00 | 5.76 | 3.64 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#1364C1
Tritanopia (blue-blind)
#676681
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #794cc4; /* rgb */ color: rgb(121, 76, 196); /* oklch */ color: oklch(52.9% 0.179 297.1);
Tailwind
colors: {
custom: {
50: '#a580d7',
500: '#794cc4',
950: '#000000',
},
}SCSS
$custom: #794cc4; $custom-light: #a580d7; $custom-dark: #000000;
JSON
{
"hex": "#794cc4",
"rgb": {
"r": 121,
"g": 76,
"b": 196
},
"hsl": {
"h": 262.5,
"s": 50.42,
"l": 53.333
},
"oklch": {
"l": 0.52858,
"c": 0.1794,
"h": 297.1
},
"luminance": 0.13219
}Semantic roles & 50–950 ramp
primary
#794CC4
secondary
#BCD09C
accent
#DA4EA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83