#787CD1#787CD1
#787CD1 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.0% C 0.127 H 280.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #787CD1 |
|---|---|
| RGB | rgb(120, 124, 209) |
| HSL | hsl(237, 49%, 65%) |
| HSV | hsv(237, 43%, 82%) |
| CMYK | cmyk(42.6%, 40.7%, 0%, 18%) |
| CIE-LAB | lab(55.08, 20.08, -44.41) |
| CIE-LCH | lch(55.08, 48.74, 294.33°) |
| OKLab | oklab(62.05% 0.022 -0.1253) |
| OKLCH | oklch(62.05% 0.127 280) |
| XYZ | xyz(26.4586, 23.0106, 63.3566) |
| Luminance | 0.2301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 5.93
Perrywinkle
#8F8CE7
ΔE00 6.30
Lavender Blue
#8B88F8
ΔE00 6.78
Periwinkle (survey)
#8E82FE
ΔE00 7.33
Soft Blue
#6488EA
ΔE00 7.53
Cornflower Blue
#5170D7
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787CD1 #D1CD78
analogous
#78A9D1 #787CD1 #A078D1
triadic
#787CD1 #D1787C #7CD178
tetradic
#787CD1 #D178A9 #D1CD78 #78D1A0
square
#787CD1 #D178A9 #D1CD78 #78D1A0
split-complementary
#787CD1 #D1A078 #A9D178
monochromatic
#35399A #4A50C1 #787CD1 #A6A8E1 #D3D5F0
Accessibility & contrast
On white
3.75
#787CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#787CD1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787CD1
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787CD1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787CD1 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D87D4
Deuteranopia (green-blind)
#5881CF
Tritanopia (blue-blind)
#5C8D9C
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #787cd1; /* rgb */ color: rgb(120, 124, 209); /* oklch */ color: oklch(62.0% 0.127 280.0);
Tailwind
colors: {
custom: {
50: '#a3a1df',
500: '#787cd1',
950: '#000000',
},
}SCSS
$custom: #787cd1; $custom-light: #a3a1df; $custom-dark: #000000;
JSON
{
"hex": "#787cd1",
"rgb": {
"r": 120,
"g": 124,
"b": 209
},
"hsl": {
"h": 237.303,
"s": 49.171,
"l": 64.51
},
"oklch": {
"l": 0.62046,
"c": 0.12718,
"h": 280
},
"luminance": 0.23012
}Semantic roles & 50–950 ramp
primary
#787CD1
secondary
#E2E0C3
accent
#B629BC
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83