#794BB9#794BB9
#794BB9 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.167 H 299.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #794BB9 |
|---|---|
| RGB | rgb(121, 75, 185) |
| HSL | hsl(265, 44%, 51%) |
| HSV | hsv(265, 59%, 73%) |
| CMYK | cmyk(34.6%, 59.5%, 0%, 27.5%) |
| CIE-LAB | lab(42.15, 42.49, -51.22) |
| CIE-LCH | lch(42.15, 66.55, 309.68°) |
| OKLab | oklab(51.94% 0.0834 -0.1453) |
| OKLCH | oklch(51.94% 0.167 299.9) |
| XYZ | xyz(19.1561, 12.5997, 47.3123) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.40
Bluey Purple
#6241C7
ΔE00 5.56
Light Indigo
#6D5ACF
ΔE00 6.36
Slate Blue
#6A5ACD
ΔE00 6.52
Iris
#6258C4
ΔE00 6.67
Darkorchid
#9932CC
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794BB9 #8BB94B
analogous
#4B54B9 #794BB9 #B04BB9
triadic
#794BB9 #B9794B #4BB979
tetradic
#794BB9 #B94B54 #8BB94B #4BB9B0
square
#794BB9 #B94B54 #8BB94B #4BB9B0
split-complementary
#794BB9 #B9B04B #54B94B
monochromatic
#402763 #5C388F #794BB9 #9A77CA #BBA3DB
Accessibility & contrast
On white
5.97
#794BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#794BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794BB9
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794BB9 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C63BD
Deuteranopia (green-blind)
#2763B7
Tritanopia (blue-blind)
#6B627B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #794bb9; /* rgb */ color: rgb(121, 75, 185); /* oklch */ color: oklch(51.9% 0.167 299.9);
Tailwind
colors: {
custom: {
50: '#a47fcf',
500: '#794bb9',
950: '#000000',
},
}SCSS
$custom: #794bb9; $custom-light: #a47fcf; $custom-dark: #000000;
JSON
{
"hex": "#794bb9",
"rgb": {
"r": 121,
"g": 75,
"b": 185
},
"hsl": {
"h": 265.091,
"s": 44,
"l": 50.98
},
"oklch": {
"l": 0.51941,
"c": 0.16749,
"h": 299.9
},
"luminance": 0.126
}Semantic roles & 50–950 ramp
primary
#794BB9
secondary
#B4C898
accent
#D4549E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82