#797AE1#797AE1
#797AE1 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.7% C 0.152 H 280.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #797AE1 |
|---|---|
| RGB | rgb(121, 122, 225) |
| HSL | hsl(239, 63%, 68%) |
| HSV | hsv(239, 46%, 88%) |
| CMYK | cmyk(46.2%, 45.8%, 0%, 11.8%) |
| CIE-LAB | lab(55.50, 26.20, -52.75) |
| CIE-LCH | lch(55.50, 58.90, 296.41°) |
| OKLab | oklab(62.66% 0.0281 -0.1496) |
| OKLCH | oklch(62.66% 0.152 280.6) |
| XYZ | xyz(28.4312, 23.4188, 74.2418) |
| Luminance | 0.2342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.93
Lavender Blue
#8B88F8
ΔE00 5.51
Periwinkle (survey)
#8E82FE
ΔE00 5.52
Mediumslateblue
#7B68EE
ΔE00 5.97
Perrywinkle
#8F8CE7
ΔE00 6.22
Mediumpurple
#9370DB
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797AE1 #E1E079
analogous
#79AEE1 #797AE1 #AC79E1
triadic
#797AE1 #E1797A #7AE179
tetradic
#797AE1 #E179AE #E1E079 #79E1AC
square
#797AE1 #E179AE #E1E079 #79E1AC
split-complementary
#797AE1 #E1AC79 #AEE179
monochromatic
#292AB7 #4748D6 #797AE1 #ABACEC #DDDDF7
Accessibility & contrast
On white
3.69
#797AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#797AE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797AE1
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797AE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797AE1 | 1.00 | 3.69 | 5.68 | 5.68 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5089E5
Deuteranopia (green-blind)
#4981DF
Tritanopia (blue-blind)
#5590A3
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #797ae1; /* rgb */ color: rgb(121, 122, 225); /* oklch */ color: oklch(62.7% 0.152 280.6);
Tailwind
colors: {
custom: {
50: '#a5a0eb',
500: '#797ae1',
950: '#000000',
},
}SCSS
$custom: #797ae1; $custom-light: #a5a0eb; $custom-dark: #000000;
JSON
{
"hex": "#797ae1",
"rgb": {
"r": 121,
"g": 122,
"b": 225
},
"hsl": {
"h": 239.423,
"s": 63.415,
"l": 67.843
},
"oklch": {
"l": 0.6266,
"c": 0.15227,
"h": 280.6
},
"luminance": 0.2342
}Semantic roles & 50–950 ramp
primary
#797AE1
secondary
#EBEBCB
accent
#C91ACB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84