#794FBB#794FBB
#794FBB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.164 H 298.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #794FBB |
|---|---|
| RGB | rgb(121, 79, 187) |
| HSL | hsl(263, 44%, 52%) |
| HSV | hsv(263, 58%, 73%) |
| CMYK | cmyk(35.3%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(43.13, 40.78, -50.82) |
| CIE-LCH | lch(43.13, 65.16, 308.74°) |
| OKLab | oklab(52.7% 0.0784 -0.1441) |
| OKLCH | oklch(52.7% 0.164 298.5) |
| XYZ | xyz(19.6486, 13.2445, 48.5253) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.30
Light Indigo
#6D5ACF
ΔE00 5.45
Slate Blue
#6A5ACD
ΔE00 5.64
Iris
#6258C4
ΔE00 5.93
Bluey Purple
#6241C7
ΔE00 5.96
Deep Lavender
#8D5EB7
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794FBB #91BB4F
analogous
#4F5BBB #794FBB #AF4FBB
triadic
#794FBB #BB794F #4FBB79
tetradic
#794FBB #BB4F5B #91BB4F #4FBBAF
square
#794FBB #BB4F5B #91BB4F #4FBBAF
split-complementary
#794FBB #BBAF4F #5BBB4F
monochromatic
#412868 #5C3994 #794FBB #9B7BCC #BCA7DD
Accessibility & contrast
On white
5.76
#794FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#794FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794FBB
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794FBB | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#2B65B9
Tritanopia (blue-blind)
#6A657D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #794fbb; /* rgb */ color: rgb(121, 79, 187); /* oklch */ color: oklch(52.7% 0.164 298.5);
Tailwind
colors: {
custom: {
50: '#a482d0',
500: '#794fbb',
950: '#000000',
},
}SCSS
$custom: #794fbb; $custom-light: #a482d0; $custom-dark: #000000;
JSON
{
"hex": "#794fbb",
"rgb": {
"r": 121,
"g": 79,
"b": 187
},
"hsl": {
"h": 263.333,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.52697,
"c": 0.16405,
"h": 298.5
},
"luminance": 0.13245
}Semantic roles & 50–950 ramp
primary
#794FBB
secondary
#B8CA9B
accent
#D454A2
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82