#794BBE#794BBE
#794BBE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.174 H 298.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #794BBE |
|---|---|
| RGB | rgb(121, 75, 190) |
| HSL | hsl(264, 47%, 52%) |
| HSV | hsv(264, 61%, 75%) |
| CMYK | cmyk(36.3%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(42.48, 43.79, -53.61) |
| CIE-LCH | lch(42.48, 69.22, 309.24°) |
| OKLab | oklab(52.29% 0.0832 -0.1523) |
| OKLCH | oklch(52.29% 0.174 298.7) |
| XYZ | xyz(19.6932, 12.8146, 50.1411) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.11
Bluey Purple
#6241C7
ΔE00 5.15
Light Indigo
#6D5ACF
ΔE00 5.84
Slate Blue
#6A5ACD
ΔE00 6.04
Iris
#6258C4
ΔE00 6.32
Bluish Purple
#703BE7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794BBE #90BE4B
analogous
#4B57BE #794BBE #B34BBE
triadic
#794BBE #BE794B #4BBE79
tetradic
#794BBE #BE4B57 #90BE4B #4BBEB3
square
#794BBE #BE4B57 #90BE4B #4BBEB3
split-complementary
#794BBE #BEB34B #57BE4B
monochromatic
#412669 #5C3696 #794BBE #9A78CE #BCA5DE
Accessibility & contrast
On white
5.89
#794BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#794BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794BBE
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794BBE | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#1F63BB
Tritanopia (blue-blind)
#69647D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #794bbe; /* rgb */ color: rgb(121, 75, 190); /* oklch */ color: oklch(52.3% 0.174 298.7);
Tailwind
colors: {
custom: {
50: '#a47fd2',
500: '#794bbe',
950: '#000000',
},
}SCSS
$custom: #794bbe; $custom-light: #a47fd2; $custom-dark: #000000;
JSON
{
"hex": "#794bbe",
"rgb": {
"r": 121,
"g": 75,
"b": 190
},
"hsl": {
"h": 264,
"s": 46.939,
"l": 51.961
},
"oklch": {
"l": 0.52286,
"c": 0.17355,
"h": 298.7
},
"luminance": 0.12815
}Semantic roles & 50–950 ramp
primary
#794BBE
secondary
#B7CC99
accent
#D751A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83