#796FE5#796FE5
#796FE5 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.9% C 0.173 H 283.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #796FE5 |
|---|---|
| RGB | rgb(121, 111, 229) |
| HSL | hsl(245, 69%, 67%) |
| HSV | hsv(245, 52%, 90%) |
| CMYK | cmyk(47.2%, 51.5%, 0%, 10.2%) |
| CIE-LAB | lab(53.05, 33.92, -58.93) |
| CIE-LCH | lch(53.05, 67.99, 299.92°) |
| OKLab | oklab(60.89% 0.0413 -0.1678) |
| OKLCH | oklch(60.89% 0.173 283.8) |
| XYZ | xyz(27.7083, 21.0896, 76.7243) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.47
Cornflower
#6A79F7
ΔE00 5.18
Mediumpurple
#9370DB
ΔE00 5.74
Dark Periwinkle
#665FD1
ΔE00 6.59
Periwinkle (survey)
#8E82FE
ΔE00 7.03
Light Indigo
#6D5ACF
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796FE5 #DBE56F
analogous
#6FA0E5 #796FE5 #B46FE5
triadic
#796FE5 #E5796F #6FE579
tetradic
#796FE5 #E56FA0 #DBE56F #6FE5B4
square
#796FE5 #E56FA0 #DBE56F #6FE5B4
split-complementary
#796FE5 #E5B46F #A0E56F
monochromatic
#2E21B8 #493BDC #796FE5 #A9A3EE #D9D7F8
Accessibility & contrast
On white
4.02
#796FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#796FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #796FE5
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##796FE5 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3582E9
Deuteranopia (green-blind)
#2F7BE2
Tritanopia (blue-blind)
#54899F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #796fe5; /* rgb */ color: rgb(121, 111, 229); /* oklch */ color: oklch(60.9% 0.173 283.8);
Tailwind
colors: {
custom: {
50: '#a698ee',
500: '#796fe5',
950: '#000000',
},
}SCSS
$custom: #796fe5; $custom-light: #a698ee; $custom-dark: #000000;
JSON
{
"hex": "#796fe5",
"rgb": {
"r": 121,
"g": 111,
"b": 229
},
"hsl": {
"h": 245.085,
"s": 69.412,
"l": 66.667
},
"oklch": {
"l": 0.60888,
"c": 0.17285,
"h": 283.8
},
"luminance": 0.21091
}Semantic roles & 50–950 ramp
primary
#796FE5
secondary
#E8EBC5
accent
#D114C1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84