#794CBB#794CBB
#794CBB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.168 H 299.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #794CBB |
|---|---|
| RGB | rgb(121, 76, 187) |
| HSL | hsl(264, 45%, 52%) |
| HSV | hsv(264, 59%, 73%) |
| CMYK | cmyk(35.3%, 59.4%, 0%, 26.7%) |
| CIE-LAB | lab(42.49, 42.45, -51.84) |
| CIE-LCH | lch(42.49, 67.01, 309.31°) |
| OKLab | oklab(52.23% 0.0821 -0.1471) |
| OKLCH | oklch(52.23% 0.168 299.2) |
| XYZ | xyz(19.4370, 12.8215, 48.4548) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.56
Bluey Purple
#6241C7
ΔE00 5.51
Light Indigo
#6D5ACF
ΔE00 5.96
Slate Blue
#6A5ACD
ΔE00 6.14
Iris
#6258C4
ΔE00 6.36
Deep Lavender
#8D5EB7
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794CBB #8EBB4C
analogous
#4C57BB #794CBB #B04CBB
triadic
#794CBB #BB794C #4CBB79
tetradic
#794CBB #BB4C57 #8EBB4C #4CBBB0
square
#794CBB #BB4C57 #8EBB4C #4CBBB0
split-complementary
#794CBB #BBB04C #57BB4C
monochromatic
#402766 #5C3892 #794CBB #9A78CC #BBA5DD
Accessibility & contrast
On white
5.89
#794CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#794CBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794CBB
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794CBB | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#2663B9
Tritanopia (blue-blind)
#6B637C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #794cbb; /* rgb */ color: rgb(121, 76, 187); /* oklch */ color: oklch(52.2% 0.168 299.2);
Tailwind
colors: {
custom: {
50: '#a480d0',
500: '#794cbb',
950: '#000000',
},
}SCSS
$custom: #794cbb; $custom-light: #a480d0; $custom-dark: #000000;
JSON
{
"hex": "#794cbb",
"rgb": {
"r": 121,
"g": 76,
"b": 187
},
"hsl": {
"h": 264.324,
"s": 44.939,
"l": 51.569
},
"oklch": {
"l": 0.52231,
"c": 0.16847,
"h": 299.2
},
"luminance": 0.12822
}Semantic roles & 50–950 ramp
primary
#794CBB
secondary
#B6CA99
accent
#D553A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82