#794ABB#794ABB
#794ABB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.171 H 299.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #794ABB |
|---|---|
| RGB | rgb(121, 74, 187) |
| HSL | hsl(265, 45%, 51%) |
| HSV | hsv(265, 60%, 73%) |
| CMYK | cmyk(35.3%, 60.4%, 0%, 26.7%) |
| CIE-LAB | lab(42.08, 43.56, -52.51) |
| CIE-LCH | lch(42.08, 68.23, 309.67°) |
| OKLab | oklab(51.93% 0.0846 -0.1491) |
| OKLCH | oklch(51.93% 0.171 299.6) |
| XYZ | xyz(19.3014, 12.5502, 48.4096) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.81
Bluey Purple
#6241C7
ΔE00 5.26
Light Indigo
#6D5ACF
ΔE00 6.33
Slate Blue
#6A5ACD
ΔE00 6.50
Iris
#6258C4
ΔE00 6.68
Darkorchid
#9932CC
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794ABB #8CBB4A
analogous
#4A53BB #794ABB #B24ABB
triadic
#794ABB #BB794A #4ABB79
tetradic
#794ABB #BB4A53 #8CBB4A #4ABBB2
square
#794ABB #BB4A53 #8CBB4A #4ABBB2
split-complementary
#794ABB #BBB24A #53BB4A
monochromatic
#402665 #5C3791 #794ABB #9A76CC #BBA3DC
Accessibility & contrast
On white
5.98
#794ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#794ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794ABB
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794ABB | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#2262B8
Tritanopia (blue-blind)
#6B627B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #794abb; /* rgb */ color: rgb(121, 74, 187); /* oklch */ color: oklch(51.9% 0.171 299.6);
Tailwind
colors: {
custom: {
50: '#a47fd0',
500: '#794abb',
950: '#000000',
},
}SCSS
$custom: #794abb; $custom-light: #a47fd0; $custom-dark: #000000;
JSON
{
"hex": "#794abb",
"rgb": {
"r": 121,
"g": 74,
"b": 187
},
"hsl": {
"h": 264.956,
"s": 45.382,
"l": 51.176
},
"oklch": {
"l": 0.51927,
"c": 0.17137,
"h": 299.6
},
"luminance": 0.1255
}Semantic roles & 50–950 ramp
primary
#794ABB
secondary
#B5C997
accent
#D5539F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82