#788CF5#788CF5
#788CF5 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.2% C 0.156 H 273.4°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #788CF5 |
|---|---|
| RGB | rgb(120, 140, 245) |
| HSL | hsl(230, 86%, 72%) |
| HSV | hsv(230, 51%, 96%) |
| CMYK | cmyk(51%, 42.9%, 0%, 3.9%) |
| CIE-LAB | lab(61.08, 21.30, -54.98) |
| CIE-LCH | lch(61.08, 58.96, 291.17°) |
| OKLab | oklab(67.24% 0.0092 -0.1561) |
| OKLCH | oklch(67.24% 0.156 273.4) |
| XYZ | xyz(33.6000, 29.3396, 90.2611) |
| Luminance | 0.2934 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.77
Lavender Blue
#8B88F8
ΔE00 4.39
Periwinkle Blue
#8F99FB
ΔE00 4.79
Perrywinkle
#8F8CE7
ΔE00 5.51
Cornflower
#6A79F7
ΔE00 5.82
Cornflowerblue
#6495ED
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#788CF5 #F5E178
analogous
#78CBF5 #788CF5 #A378F5
triadic
#788CF5 #F5788C #8CF578
tetradic
#788CF5 #F578CB #F5E178 #78F5A3
square
#788CF5 #F578CB #F5E178 #78F5A3
split-complementary
#788CF5 #F5A378 #CBF578
monochromatic
#1132E2 #3F5BF1 #788CF5 #B1BDF9 #E3E7FD
Accessibility & contrast
On white
3.06
#788CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.87
#788CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #788CF5
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##788CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##788CF5 | 1.00 | 3.06 | 6.87 | 6.87 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6099F9
Deuteranopia (green-blind)
#538EF3
Tritanopia (blue-blind)
#41A3B5
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #788cf5; /* rgb */ color: rgb(120, 140, 245); /* oklch */ color: oklch(67.2% 0.156 273.4);
Tailwind
colors: {
custom: {
50: '#a6adf9',
500: '#788cf5',
950: '#000000',
},
}SCSS
$custom: #788cf5; $custom-light: #a6adf9; $custom-dark: #000000;
JSON
{
"hex": "#788cf5",
"rgb": {
"r": 120,
"g": 140,
"b": 245
},
"hsl": {
"h": 230.4,
"s": 86.207,
"l": 71.569
},
"oklch": {
"l": 0.6724,
"c": 0.15635,
"h": 273.4
},
"luminance": 0.29342
}Semantic roles & 50–950 ramp
primary
#788CF5
secondary
#F4EFD4
accent
#BF03E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85