#794CC0#794CC0
#794CC0 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.175 H 298.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #794CC0 |
|---|---|
| RGB | rgb(121, 76, 192) |
| HSL | hsl(263, 48%, 53%) |
| HSV | hsv(263, 60%, 75%) |
| CMYK | cmyk(37%, 60.4%, 0%, 24.7%) |
| CIE-LAB | lab(42.82, 43.76, -54.23) |
| CIE-LCH | lch(42.82, 69.68, 308.90°) |
| OKLab | oklab(52.58% 0.082 -0.1541) |
| OKLCH | oklch(52.58% 0.175 298) |
| XYZ | xyz(19.9816, 13.0393, 51.3231) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.31
Bluey Purple
#6241C7
ΔE00 5.16
Light Indigo
#6D5ACF
ΔE00 5.46
Slate Blue
#6A5ACD
ΔE00 5.68
Iris
#6258C4
ΔE00 6.05
Bluish Purple
#703BE7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794CC0 #93C04C
analogous
#4C59C0 #794CC0 #B34CC0
triadic
#794CC0 #C0794C #4CC079
tetradic
#794CC0 #C04C59 #93C04C #4CC0B3
square
#794CC0 #C04C59 #93C04C #4CC0B3
split-complementary
#794CC0 #C0B34C #59C04C
monochromatic
#41266C #5C3699 #794CC0 #9B79D0 #BDA7E0
Accessibility & contrast
On white
5.82
#794CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#794CC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794CC0
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794CC0 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#1D64BD
Tritanopia (blue-blind)
#69657F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #794cc0; /* rgb */ color: rgb(121, 76, 192); /* oklch */ color: oklch(52.6% 0.175 298.0);
Tailwind
colors: {
custom: {
50: '#a480d4',
500: '#794cc0',
950: '#000000',
},
}SCSS
$custom: #794cc0; $custom-light: #a480d4; $custom-dark: #000000;
JSON
{
"hex": "#794cc0",
"rgb": {
"r": 121,
"g": 76,
"b": 192
},
"hsl": {
"h": 263.276,
"s": 47.934,
"l": 52.549
},
"oklch": {
"l": 0.52576,
"c": 0.17455,
"h": 298
},
"luminance": 0.1304
}Semantic roles & 50–950 ramp
primary
#794CC0
secondary
#BACD9B
accent
#D850A3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83