#794ABC#794ABC
#794ABC is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.173 H 299.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #794ABC |
|---|---|
| RGB | rgb(121, 74, 188) |
| HSL | hsl(265, 46%, 51%) |
| HSV | hsv(265, 61%, 74%) |
| CMYK | cmyk(35.6%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(42.14, 43.82, -52.99) |
| CIE-LCH | lch(42.14, 68.76, 309.59°) |
| OKLab | oklab(52% 0.0845 -0.1505) |
| OKLCH | oklch(52% 0.173 299.3) |
| XYZ | xyz(19.4088, 12.5932, 48.9754) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.95
Bluey Purple
#6241C7
ΔE00 5.18
Light Indigo
#6D5ACF
ΔE00 6.22
Slate Blue
#6A5ACD
ΔE00 6.40
Iris
#6258C4
ΔE00 6.61
Darkorchid
#9932CC
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794ABC #8DBC4A
analogous
#4A54BC #794ABC #B24ABC
triadic
#794ABC #BC794A #4ABC79
tetradic
#794ABC #BC4A54 #8DBC4A #4ABCB2
square
#794ABC #BC4A54 #8DBC4A #4ABCB2
split-complementary
#794ABC #BCB24A #54BC4A
monochromatic
#402666 #5C3693 #794ABC #9A77CD #BBA3DD
Accessibility & contrast
On white
5.97
#794ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#794ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794ABC
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794ABC | 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)
#0063C0
Deuteranopia (green-blind)
#2062B9
Tritanopia (blue-blind)
#6A627C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #794abc; /* rgb */ color: rgb(121, 74, 188); /* oklch */ color: oklch(52.0% 0.173 299.3);
Tailwind
colors: {
custom: {
50: '#a47fd1',
500: '#794abc',
950: '#000000',
},
}SCSS
$custom: #794abc; $custom-light: #a47fd1; $custom-dark: #000000;
JSON
{
"hex": "#794abc",
"rgb": {
"r": 121,
"g": 74,
"b": 188
},
"hsl": {
"h": 264.737,
"s": 45.968,
"l": 51.373
},
"oklch": {
"l": 0.51997,
"c": 0.17257,
"h": 299.3
},
"luminance": 0.12593
}Semantic roles & 50–950 ramp
primary
#794ABC
secondary
#B5CA98
accent
#D6529F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82