#794FC8#794FC8
#794FC8 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.180 H 295.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #794FC8 |
|---|---|
| RGB | rgb(121, 79, 200) |
| HSL | hsl(261, 52%, 55%) |
| HSV | hsv(261, 61%, 78%) |
| CMYK | cmyk(39.5%, 60.5%, 0%, 21.6%) |
| CIE-LAB | lab(43.98, 44.22, -57.00) |
| CIE-LCH | lch(43.98, 72.14, 307.80°) |
| OKLab | oklab(53.59% 0.0781 -0.1623) |
| OKLCH | oklch(53.59% 0.18 295.7) |
| XYZ | xyz(21.1037, 13.8266, 56.1893) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.24
Slate Blue
#6A5ACD
ΔE00 4.55
Purpley
#8756E4
ΔE00 5.18
Iris
#6258C4
ΔE00 5.32
Royal Purple
#7851A9
ΔE00 5.35
Bluey Purple
#6241C7
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794FC8 #9EC84F
analogous
#4F62C8 #794FC8 #B54FC8
triadic
#794FC8 #C8794F #4FC879
tetradic
#794FC8 #C84F62 #9EC84F #4FC8B5
square
#794FC8 #C84F62 #9EC84F #4FC8B5
split-complementary
#794FC8 #C8B54F #62C84F
monochromatic
#422577 #5B34A6 #794FC8 #9D7ED7 #C0ACE5
Accessibility & contrast
On white
5.58
#794FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#794FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794FC8
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794FC8 | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#1266C5
Tritanopia (blue-blind)
#656A84
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #794fc8; /* rgb */ color: rgb(121, 79, 200); /* oklch */ color: oklch(53.6% 0.180 295.7);
Tailwind
colors: {
custom: {
50: '#a582d9',
500: '#794fc8',
950: '#000000',
},
}SCSS
$custom: #794fc8; $custom-light: #a582d9; $custom-dark: #000000;
JSON
{
"hex": "#794fc8",
"rgb": {
"r": 121,
"g": 79,
"b": 200
},
"hsl": {
"h": 260.826,
"s": 52.381,
"l": 54.706
},
"oklch": {
"l": 0.53594,
"c": 0.18008,
"h": 295.7
},
"luminance": 0.13827
}Semantic roles & 50–950 ramp
primary
#794FC8
secondary
#C1D3A0
accent
#DC4CAA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83