#786EE9#786EE9
#786EE9 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.9% C 0.180 H 283.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #786EE9 |
|---|---|
| RGB | rgb(120, 110, 233) |
| HSL | hsl(245, 74%, 67%) |
| HSV | hsv(245, 53%, 91%) |
| CMYK | cmyk(48.5%, 52.8%, 0%, 8.6%) |
| CIE-LAB | lab(52.98, 35.47, -61.28) |
| CIE-LCH | lch(52.98, 70.81, 300.06°) |
| OKLab | oklab(60.9% 0.0415 -0.1748) |
| OKLCH | oklch(60.9% 0.18 283.4) |
| XYZ | xyz(28.0252, 21.0267, 79.6569) |
| Luminance | 0.2103 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.03
Cornflower
#6A79F7
ΔE00 5.03
Mediumpurple
#9370DB
ΔE00 6.09
Dark Periwinkle
#665FD1
ΔE00 6.57
Periwinkle (survey)
#8E82FE
ΔE00 7.09
Light Indigo
#6D5ACF
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786EE9 #DFE96E
analogous
#6EA2E9 #786EE9 #B66EE9
triadic
#786EE9 #E9786E #6EE978
tetradic
#786EE9 #E96EA2 #DFE96E #6EE9B6
square
#786EE9 #E96EA2 #DFE96E #6EE9B6
split-complementary
#786EE9 #E9B66E #A2E96E
monochromatic
#2A1DC0 #4739E1 #786EE9 #A9A3F1 #DBD8F9
Accessibility & contrast
On white
4.03
#786EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#786EE9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #786EE9
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786EE9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##786EE9 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D82ED
Deuteranopia (green-blind)
#247AE6
Tritanopia (blue-blind)
#4F89A1
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #786ee9; /* rgb */ color: rgb(120, 110, 233); /* oklch */ color: oklch(60.9% 0.180 283.4);
Tailwind
colors: {
custom: {
50: '#a698f1',
500: '#786ee9',
950: '#000000',
},
}SCSS
$custom: #786ee9; $custom-light: #a698f1; $custom-dark: #000000;
JSON
{
"hex": "#786ee9",
"rgb": {
"r": 120,
"g": 110,
"b": 233
},
"hsl": {
"h": 244.878,
"s": 73.653,
"l": 67.255
},
"oklch": {
"l": 0.60896,
"c": 0.17966,
"h": 283.4
},
"luminance": 0.21028
}Semantic roles & 50–950 ramp
primary
#786EE9
secondary
#EAEDC6
accent
#D610C6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85