#794ABE#794ABE
#794ABE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.175 H 298.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #794ABE |
|---|---|
| RGB | rgb(121, 74, 190) |
| HSL | hsl(264, 47%, 52%) |
| HSV | hsv(264, 61%, 75%) |
| CMYK | cmyk(36.3%, 61.1%, 0%, 25.5%) |
| CIE-LAB | lab(42.28, 44.33, -53.94) |
| CIE-LCH | lch(42.28, 69.83, 309.42°) |
| OKLab | oklab(52.14% 0.0844 -0.1533) |
| OKLCH | oklch(52.14% 0.175 298.9) |
| XYZ | xyz(19.6259, 12.6800, 50.1187) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.23
Bluey Purple
#6241C7
ΔE00 5.03
Light Indigo
#6D5ACF
ΔE00 6.03
Slate Blue
#6A5ACD
ΔE00 6.23
Bluish Purple
#703BE7
ΔE00 6.48
Iris
#6258C4
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794ABE #8FBE4A
analogous
#4A55BE #794ABE #B34ABE
triadic
#794ABE #BE794A #4ABE79
tetradic
#794ABE #BE4A55 #8FBE4A #4ABEB3
square
#794ABE #BE4A55 #8FBE4A #4ABEB3
split-complementary
#794ABE #BEB34A #55BE4A
monochromatic
#402568 #5C3695 #794ABE #9A77CE #BCA4DE
Accessibility & contrast
On white
5.94
#794ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#794ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794ABE
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794ABE | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#1C63BB
Tritanopia (blue-blind)
#6A637D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #794abe; /* rgb */ color: rgb(121, 74, 190); /* oklch */ color: oklch(52.1% 0.175 298.9);
Tailwind
colors: {
custom: {
50: '#a47fd2',
500: '#794abe',
950: '#000000',
},
}SCSS
$custom: #794abe; $custom-light: #a47fd2; $custom-dark: #000000;
JSON
{
"hex": "#794abe",
"rgb": {
"r": 121,
"g": 74,
"b": 190
},
"hsl": {
"h": 264.31,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.52136,
"c": 0.17499,
"h": 298.9
},
"luminance": 0.1268
}Semantic roles & 50–950 ramp
primary
#794ABE
secondary
#B7CB98
accent
#D751A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83