#794ED4#794ED4
#794ED4 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.196 H 293.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #794ED4 |
|---|---|
| RGB | rgb(121, 78, 212) |
| HSL | hsl(259, 61%, 57%) |
| HSV | hsv(259, 63%, 83%) |
| CMYK | cmyk(42.9%, 63.2%, 0%, 16.9%) |
| CIE-LAB | lab(44.61, 48.00, -62.89) |
| CIE-LCH | lch(44.61, 79.11, 307.35°) |
| OKLab | oklab(54.32% 0.0784 -0.1796) |
| OKLCH | oklch(54.32% 0.196 293.6) |
| XYZ | xyz(22.4900, 14.2666, 63.8434) |
| Luminance | 0.1427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.05
Purpley
#8756E4
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 4.46
Bluish Purple
#703BE7
ΔE00 4.78
Bluey Purple
#6241C7
ΔE00 5.45
Iris
#6258C4
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794ED4 #A9D44E
analogous
#4E66D4 #794ED4 #BC4ED4
triadic
#794ED4 #D4794E #4ED479
tetradic
#794ED4 #D44E66 #A9D44E #4ED4BC
square
#794ED4 #D44E66 #A9D44E #4ED4BC
split-complementary
#794ED4 #D4BC4E #66D44E
monochromatic
#422187 #592DB8 #794ED4 #9E7FE0 #C4B0EC
Accessibility & contrast
On white
5.45
#794ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#794ED4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794ED4
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794ED4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794ED4 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#606D8A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #794ed4; /* rgb */ color: rgb(121, 78, 212); /* oklch */ color: oklch(54.3% 0.196 293.6);
Tailwind
colors: {
custom: {
50: '#a682e2',
500: '#794ed4',
950: '#000000',
},
}SCSS
$custom: #794ed4; $custom-light: #a682e2; $custom-dark: #000000;
JSON
{
"hex": "#794ed4",
"rgb": {
"r": 121,
"g": 78,
"b": 212
},
"hsl": {
"h": 259.254,
"s": 60.909,
"l": 56.863
},
"oklch": {
"l": 0.54316,
"c": 0.19596,
"h": 293.6
},
"luminance": 0.14267
}Semantic roles & 50–950 ramp
primary
#794ED4
secondary
#C9DAA4
accent
#E444B1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84