#794EBF#794EBF
#794EBF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.170 H 297.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #794EBF |
|---|---|
| RGB | rgb(121, 78, 191) |
| HSL | hsl(263, 47%, 53%) |
| HSV | hsv(263, 59%, 75%) |
| CMYK | cmyk(36.6%, 59.2%, 0%, 25.1%) |
| CIE-LAB | lab(43.17, 42.39, -53.08) |
| CIE-LCH | lch(43.17, 67.93, 308.61°) |
| OKLab | oklab(52.81% 0.0796 -0.1507) |
| OKLCH | oklch(52.81% 0.17 297.8) |
| XYZ | xyz(20.0112, 13.2750, 50.7882) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 5.18
Slate Blue
#6A5ACD
ΔE00 5.40
Bluey Purple
#6241C7
ΔE00 5.52
Iris
#6258C4
ΔE00 5.80
Purpley
#8756E4
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794EBF #94BF4E
analogous
#4E5BBF #794EBF #B24EBF
triadic
#794EBF #BF794E #4EBF79
tetradic
#794EBF #BF4E5B #94BF4E #4EBFB2
square
#794EBF #BF4E5B #94BF4E #4EBFB2
split-complementary
#794EBF #BFB24E #5BBF4E
monochromatic
#41276C #5C3799 #794EBF #9B7BCF #BDA8E0
Accessibility & contrast
On white
5.75
#794EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#794EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794EBF
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794EBF | 1.00 | 5.75 | 3.66 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0866C3
Deuteranopia (green-blind)
#2365BC
Tritanopia (blue-blind)
#69667F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #794ebf; /* rgb */ color: rgb(121, 78, 191); /* oklch */ color: oklch(52.8% 0.170 297.8);
Tailwind
colors: {
custom: {
50: '#a481d3',
500: '#794ebf',
950: '#000000',
},
}SCSS
$custom: #794ebf; $custom-light: #a481d3; $custom-dark: #000000;
JSON
{
"hex": "#794ebf",
"rgb": {
"r": 121,
"g": 78,
"b": 191
},
"hsl": {
"h": 262.832,
"s": 46.888,
"l": 52.745
},
"oklch": {
"l": 0.52813,
"c": 0.17045,
"h": 297.8
},
"luminance": 0.13275
}Semantic roles & 50–950 ramp
primary
#794EBF
secondary
#BACD9C
accent
#D751A4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83