#787CD7#787CD7
#787CD7 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.4% C 0.136 H 279.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #787CD7 |
|---|---|
| RGB | rgb(120, 124, 215) |
| HSL | hsl(237, 54%, 66%) |
| HSV | hsv(237, 44%, 84%) |
| CMYK | cmyk(44.2%, 42.3%, 0%, 15.7%) |
| CIE-LAB | lab(55.39, 21.82, -47.31) |
| CIE-LCH | lch(55.39, 52.10, 294.76°) |
| OKLab | oklab(62.38% 0.0231 -0.1337) |
| OKLCH | oklch(62.38% 0.136 279.8) |
| XYZ | xyz(27.2155, 23.3134, 67.3427) |
| Luminance | 0.2331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 5.07
Perrywinkle
#8F8CE7
ΔE00 6.04
Lavender Blue
#8B88F8
ΔE00 6.13
Periwinkle (survey)
#8E82FE
ΔE00 6.59
Soft Blue
#6488EA
ΔE00 7.10
Mediumslateblue
#7B68EE
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787CD7 #D7D378
analogous
#78ABD7 #787CD7 #A378D7
triadic
#787CD7 #D7787C #7CD778
tetradic
#787CD7 #D778AB #D7D378 #78D7A3
square
#787CD7 #D778AB #D7D378 #78D7A3
split-complementary
#787CD7 #D7A378 #ABD778
monochromatic
#3135A4 #494EC9 #787CD7 #A7AAE5 #D6D8F3
Accessibility & contrast
On white
3.71
#787CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#787CD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787CD7
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787CD7 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A88DA
Deuteranopia (green-blind)
#5381D5
Tritanopia (blue-blind)
#598F9F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #787cd7; /* rgb */ color: rgb(120, 124, 215); /* oklch */ color: oklch(62.4% 0.136 279.8);
Tailwind
colors: {
custom: {
50: '#a3a1e4',
500: '#787cd7',
950: '#000000',
},
}SCSS
$custom: #787cd7; $custom-light: #a3a1e4; $custom-dark: #000000;
JSON
{
"hex": "#787cd7",
"rgb": {
"r": 120,
"g": 124,
"b": 215
},
"hsl": {
"h": 237.474,
"s": 54.286,
"l": 65.686
},
"oklch": {
"l": 0.62384,
"c": 0.1357,
"h": 279.8
},
"luminance": 0.23315
}Semantic roles & 50–950 ramp
primary
#787CD7
secondary
#E5E4C6
accent
#BB24C2
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#0F0F15
muted
#7F7E84