#786CCD#786CCD
#786CCD is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.8% C 0.145 H 286.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #786CCD |
|---|---|
| RGB | rgb(120, 108, 205) |
| HSL | hsl(247, 49%, 61%) |
| HSV | hsv(247, 47%, 80%) |
| CMYK | cmyk(41.5%, 47.3%, 0%, 19.6%) |
| CIE-LAB | lab(50.83, 28.50, -48.89) |
| CIE-LCH | lch(50.83, 56.59, 300.24°) |
| OKLab | oklab(58.75% 0.0416 -0.1384) |
| OKLCH | oklch(58.75% 0.145 286.7) |
| XYZ | xyz(24.1246, 19.1251, 60.1662) |
| Luminance | 0.1913 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 5.02
Dark Periwinkle
#665FD1
ΔE00 5.24
Mediumpurple
#9370DB
ΔE00 5.77
Light Indigo
#6D5ACF
ΔE00 5.97
Slate Blue
#6A5ACD
ΔE00 6.14
Iris
#6258C4
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786CCD #C1CD6C
analogous
#6C91CD #786CCD #A96CCD
triadic
#786CCD #CD786C #6CCD78
tetradic
#786CCD #CD6C91 #C1CD6C #6CCDA9
square
#786CCD #CD6C91 #C1CD6C #6CCDA9
split-complementary
#786CCD #CDA96C #91CD6C
monochromatic
#3C308E #4F40BC #786CCD #A29ADD #CCC7EC
Accessibility & contrast
On white
4.35
#786CCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#786CCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #786CCD
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786CCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##786CCD | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#4576CB
Tritanopia (blue-blind)
#5F8093
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #786ccd; /* rgb */ color: rgb(120, 108, 205); /* oklch */ color: oklch(58.8% 0.145 286.7);
Tailwind
colors: {
custom: {
50: '#a396dd',
500: '#786ccd',
950: '#000000',
},
}SCSS
$custom: #786ccd; $custom-light: #a396dd; $custom-dark: #000000;
JSON
{
"hex": "#786ccd",
"rgb": {
"r": 120,
"g": 108,
"b": 205
},
"hsl": {
"h": 247.423,
"s": 49.239,
"l": 61.373
},
"oklch": {
"l": 0.58752,
"c": 0.14454,
"h": 286.7
},
"luminance": 0.19126
}Semantic roles & 50–950 ramp
primary
#786CCD
secondary
#D8DDB8
accent
#BD29AA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83