#787CD5#787CD5
#787CD5 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.3% C 0.133 H 279.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #787CD5 |
|---|---|
| RGB | rgb(120, 124, 213) |
| HSL | hsl(237, 53%, 65%) |
| HSV | hsv(237, 44%, 84%) |
| CMYK | cmyk(43.7%, 41.8%, 0%, 16.5%) |
| CIE-LAB | lab(55.29, 21.24, -46.35) |
| CIE-LCH | lch(55.29, 50.98, 294.62°) |
| OKLab | oklab(62.27% 0.0227 -0.1309) |
| OKLCH | oklch(62.27% 0.133 279.8) |
| XYZ | xyz(26.9600, 23.2112, 65.9975) |
| Luminance | 0.2321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 5.35
Perrywinkle
#8F8CE7
ΔE00 6.12
Lavender Blue
#8B88F8
ΔE00 6.34
Periwinkle (survey)
#8E82FE
ΔE00 6.83
Soft Blue
#6488EA
ΔE00 7.23
Mediumslateblue
#7B68EE
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787CD5 #D5D178
analogous
#78ABD5 #787CD5 #A278D5
triadic
#787CD5 #D5787C #7CD578
tetradic
#787CD5 #D578AB #D5D178 #78D5A2
square
#787CD5 #D578AB #D5D178 #78D5A2
split-complementary
#787CD5 #D5A278 #ABD578
monochromatic
#3237A1 #494FC6 #787CD5 #A7A9E4 #D5D7F2
Accessibility & contrast
On white
3.72
#787CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#787CD5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787CD5
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787CD5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787CD5 | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B88D8
Deuteranopia (green-blind)
#5581D3
Tritanopia (blue-blind)
#5A8E9E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #787cd5; /* rgb */ color: rgb(120, 124, 213); /* oklch */ color: oklch(62.3% 0.133 279.8);
Tailwind
colors: {
custom: {
50: '#a3a1e2',
500: '#787cd5',
950: '#000000',
},
}SCSS
$custom: #787cd5; $custom-light: #a3a1e2; $custom-dark: #000000;
JSON
{
"hex": "#787cd5",
"rgb": {
"r": 120,
"g": 124,
"b": 213
},
"hsl": {
"h": 237.419,
"s": 52.542,
"l": 65.294
},
"oklch": {
"l": 0.6227,
"c": 0.13287,
"h": 279.8
},
"luminance": 0.23212
}Semantic roles & 50–950 ramp
primary
#787CD5
secondary
#E4E3C5
accent
#B926C0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83