#786EFC#786EFC
#786EFC is a light, highly saturated blue. Relative luminance 0.222; OKLCH L 62.2% C 0.204 H 281.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #786EFC |
|---|---|
| RGB | rgb(120, 110, 252) |
| HSL | hsl(244, 96%, 71%) |
| HSV | hsv(244, 56%, 99%) |
| CMYK | cmyk(52.4%, 56.3%, 0%, 1.2%) |
| CIE-LAB | lab(54.21, 41.13, -69.88) |
| CIE-LCH | lch(54.21, 81.09, 300.48°) |
| OKLab | oklab(62.2% 0.0419 -0.2001) |
| OKLCH | oklch(62.2% 0.204 281.8) |
| XYZ | xyz(30.8869, 22.1714, 94.7286) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.77
Cornflower
#6A79F7
ΔE00 4.54
Periwinkle (survey)
#8E82FE
ΔE00 6.38
Mediumpurple
#9370DB
ΔE00 7.33
Lavender Blue
#8B88F8
ΔE00 7.79
Purpley
#8756E4
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786EFC #F2FC6E
analogous
#6EABFC #786EFC #BF6EFC
triadic
#786EFC #FC786E #6EFC78
tetradic
#786EFC #FC6EAB #F2FC6E #6EFCBF
square
#786EFC #FC6EAB #F2FC6E #6EFCBF
split-complementary
#786EFC #FCBF6E #ABFC6E
monochromatic
#1505EB #4032FB #786EFC #B0AAFD #E3E1FE
Accessibility & contrast
On white
3.86
#786EFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#786EFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #786EFC
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786EFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##786EFC | 1.00 | 3.86 | 5.43 | 5.43 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007DF9
Tritanopia (blue-blind)
#3F8FAA
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #786efc; /* rgb */ color: rgb(120, 110, 252); /* oklch */ color: oklch(62.2% 0.204 281.8);
Tailwind
colors: {
custom: {
50: '#a898fe',
500: '#786efc',
950: '#000000',
},
}SCSS
$custom: #786efc; $custom-light: #a898fe; $custom-dark: #000000;
JSON
{
"hex": "#786efc",
"rgb": {
"r": 120,
"g": 110,
"b": 252
},
"hsl": {
"h": 244.225,
"s": 95.946,
"l": 70.98
},
"oklch": {
"l": 0.62202,
"c": 0.20443,
"h": 281.8
},
"luminance": 0.22173
}Semantic roles & 50–950 ramp
primary
#786EFC
secondary
#F3F6D0
accent
#E600D5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86