#796EE5#796EE5
#796EE5 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.7% C 0.174 H 284.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #796EE5 |
|---|---|
| RGB | rgb(121, 110, 229) |
| HSL | hsl(246, 70%, 66%) |
| HSV | hsv(246, 52%, 90%) |
| CMYK | cmyk(47.2%, 52%, 0%, 10.2%) |
| CIE-LAB | lab(52.81, 34.51, -59.31) |
| CIE-LCH | lch(52.81, 68.62, 300.19°) |
| OKLab | oklab(60.71% 0.0425 -0.169) |
| OKLCH | oklch(60.71% 0.174 284.1) |
| XYZ | xyz(27.5998, 20.8726, 76.6881) |
| Luminance | 0.2087 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.20
Cornflower
#6A79F7
ΔE00 5.41
Mediumpurple
#9370DB
ΔE00 5.72
Dark Periwinkle
#665FD1
ΔE00 6.36
Periwinkle (survey)
#8E82FE
ΔE00 7.26
Light Indigo
#6D5ACF
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796EE5 #DAE56E
analogous
#6E9FE5 #796EE5 #B56EE5
triadic
#796EE5 #E5796E #6EE579
tetradic
#796EE5 #E56E9F #DAE56E #6EE5B5
square
#796EE5 #E56E9F #DAE56E #6EE5B5
split-complementary
#796EE5 #E5B56E #9FE56E
monochromatic
#2F21B8 #493ADC #796EE5 #A9A2EE #D9D6F8
Accessibility & contrast
On white
4.06
#796EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#796EE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #796EE5
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796EE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##796EE5 | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3382E9
Deuteranopia (green-blind)
#2D7AE2
Tritanopia (blue-blind)
#54889F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #796ee5; /* rgb */ color: rgb(121, 110, 229); /* oklch */ color: oklch(60.7% 0.174 284.1);
Tailwind
colors: {
custom: {
50: '#a698ee',
500: '#796ee5',
950: '#000000',
},
}SCSS
$custom: #796ee5; $custom-light: #a698ee; $custom-dark: #000000;
JSON
{
"hex": "#796ee5",
"rgb": {
"r": 121,
"g": 110,
"b": 229
},
"hsl": {
"h": 245.546,
"s": 69.591,
"l": 66.471
},
"oklch": {
"l": 0.6071,
"c": 0.17422,
"h": 284.1
},
"luminance": 0.20874
}Semantic roles & 50–950 ramp
primary
#796EE5
secondary
#E7EBC4
accent
#D214C0
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84