#794ABA#794ABA
#794ABA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.170 H 299.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #794ABA |
|---|---|
| RGB | rgb(121, 74, 186) |
| HSL | hsl(265, 45%, 51%) |
| HSV | hsv(265, 60%, 73%) |
| CMYK | cmyk(34.9%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(42.01, 43.30, -52.03) |
| CIE-LCH | lch(42.01, 67.69, 309.76°) |
| OKLab | oklab(51.86% 0.0846 -0.1476) |
| OKLCH | oklch(51.86% 0.17 299.8) |
| XYZ | xyz(19.1947, 12.5075, 47.8478) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.68
Bluey Purple
#6241C7
ΔE00 5.35
Light Indigo
#6D5ACF
ΔE00 6.43
Slate Blue
#6A5ACD
ΔE00 6.60
Iris
#6258C4
ΔE00 6.75
Darkorchid
#9932CC
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794ABA #8BBA4A
analogous
#4A53BA #794ABA #B14ABA
triadic
#794ABA #BA794A #4ABA79
tetradic
#794ABA #BA4A53 #8BBA4A #4ABAB1
square
#794ABA #BA4A53 #8BBA4A #4ABAB1
split-complementary
#794ABA #BAB14A #53BA4A
monochromatic
#402664 #5C3790 #794ABA #9A76CB #BBA3DC
Accessibility & contrast
On white
6.00
#794ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#794ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794ABA
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794ABA | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0263BE
Deuteranopia (green-blind)
#2462B8
Tritanopia (blue-blind)
#6B627B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #794aba; /* rgb */ color: rgb(121, 74, 186); /* oklch */ color: oklch(51.9% 0.170 299.8);
Tailwind
colors: {
custom: {
50: '#a47fcf',
500: '#794aba',
950: '#000000',
},
}SCSS
$custom: #794aba; $custom-light: #a47fcf; $custom-dark: #000000;
JSON
{
"hex": "#794aba",
"rgb": {
"r": 121,
"g": 74,
"b": 186
},
"hsl": {
"h": 265.179,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.51858,
"c": 0.17016,
"h": 299.8
},
"luminance": 0.12508
}Semantic roles & 50–950 ramp
primary
#794ABA
secondary
#B4C997
accent
#D5539E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82