#794EAC#794EAC
#794EAC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.147 H 302.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #794EAC |
|---|---|
| RGB | rgb(121, 78, 172) |
| HSL | hsl(267, 38%, 49%) |
| HSV | hsv(267, 55%, 67%) |
| CMYK | cmyk(29.7%, 54.7%, 0%, 32.5%) |
| CIE-LAB | lab(41.99, 37.47, -43.83) |
| CIE-LCH | lch(41.99, 57.67, 310.53°) |
| OKLab | oklab(51.56% 0.0793 -0.1236) |
| OKLCH | oklch(51.56% 0.147 302.7) |
| XYZ | xyz(18.0543, 12.4923, 40.4818) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.09
Deep Lavender
#8D5EB7
ΔE00 6.26
Purply
#983FB2
ΔE00 6.79
Bluey Purple
#6241C7
ΔE00 7.49
Iris
#6258C4
ΔE00 7.66
Light Indigo
#6D5ACF
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794EAC #81AC4E
analogous
#4E52AC #794EAC #A84EAC
triadic
#794EAC #AC794E #4EAC79
tetradic
#794EAC #AC4E52 #81AC4E #4EACA8
square
#794EAC #AC4E52 #81AC4E #4EACA8
split-complementary
#794EAC #ACA84E #52AC4E
monochromatic
#3E2858 #5B3B82 #794EAC #9876C1 #B8A0D4
Accessibility & contrast
On white
6.00
#794EAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#794EAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794EAC
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794EAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794EAC | 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)
#2C62AF
Deuteranopia (green-blind)
#3A63AA
Tritanopia (blue-blind)
#6F6075
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #794eac; /* rgb */ color: rgb(121, 78, 172); /* oklch */ color: oklch(51.6% 0.147 302.7);
Tailwind
colors: {
custom: {
50: '#a381c5',
500: '#794eac',
950: '#000000',
},
}SCSS
$custom: #794eac; $custom-light: #a381c5; $custom-dark: #000000;
JSON
{
"hex": "#794eac",
"rgb": {
"r": 121,
"g": 78,
"b": 172
},
"hsl": {
"h": 267.447,
"s": 37.6,
"l": 49.02
},
"oklch": {
"l": 0.5156,
"c": 0.14686,
"h": 302.7
},
"luminance": 0.12492
}Semantic roles & 50–950 ramp
primary
#794EAC
secondary
#ADC195
accent
#CE5A99
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82