#786ACD#786ACD
#786ACD is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.4% C 0.147 H 287.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #786ACD |
|---|---|
| RGB | rgb(120, 106, 205) |
| HSL | hsl(248, 50%, 61%) |
| HSV | hsv(248, 48%, 80%) |
| CMYK | cmyk(41.5%, 48.3%, 0%, 19.6%) |
| CIE-LAB | lab(50.34, 29.70, -49.67) |
| CIE-LCH | lch(50.34, 57.87, 300.87°) |
| OKLab | oklab(58.38% 0.0441 -0.1407) |
| OKLCH | oklch(58.38% 0.147 287.4) |
| XYZ | xyz(23.9161, 18.7081, 60.0967) |
| Luminance | 0.1871 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.78
Mediumslateblue
#7B68EE
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 5.35
Slate Blue
#6A5ACD
ΔE00 5.54
Mediumpurple
#9370DB
ΔE00 5.86
Iris
#6258C4
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786ACD #BFCD6A
analogous
#6A8DCD #786ACD #A96ACD
triadic
#786ACD #CD786A #6ACD78
tetradic
#786ACD #CD6A8D #BFCD6A #6ACDA9
square
#786ACD #CD6A8D #BFCD6A #6ACDA9
split-complementary
#786ACD #CDA96A #8DCD6A
monochromatic
#3D2F8D #503FBB #786ACD #A298DC #CBC6EC
Accessibility & contrast
On white
4.43
#786ACD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#786ACD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #786ACD
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786ACD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##786ACD | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#427AD1
Deuteranopia (green-blind)
#4275CB
Tritanopia (blue-blind)
#5F7E92
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #786acd; /* rgb */ color: rgb(120, 106, 205); /* oklch */ color: oklch(58.4% 0.147 287.4);
Tailwind
colors: {
custom: {
50: '#a395dd',
500: '#786acd',
950: '#000000',
},
}SCSS
$custom: #786acd; $custom-light: #a395dd; $custom-dark: #000000;
JSON
{
"hex": "#786acd",
"rgb": {
"r": 120,
"g": 106,
"b": 205
},
"hsl": {
"h": 248.485,
"s": 49.749,
"l": 60.98
},
"oklch": {
"l": 0.58384,
"c": 0.14746,
"h": 287.4
},
"luminance": 0.18709
}Semantic roles & 50–950 ramp
primary
#786ACD
secondary
#D7DCB7
accent
#BD28A8
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83