#786FF3#786FF3
#786FF3 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.7% C 0.191 H 282.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #786FF3 |
|---|---|
| RGB | rgb(120, 111, 243) |
| HSL | hsl(244, 85%, 69%) |
| HSV | hsv(244, 54%, 95%) |
| CMYK | cmyk(50.6%, 54.3%, 0%, 4.7%) |
| CIE-LAB | lab(53.85, 37.86, -65.47) |
| CIE-LCH | lch(53.85, 75.62, 300.04°) |
| OKLab | oklab(61.75% 0.0408 -0.1871) |
| OKLCH | oklch(61.75% 0.191 282.3) |
| XYZ | xyz(29.6029, 21.8314, 87.4307) |
| Luminance | 0.2183 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.38
Cornflower
#6A79F7
ΔE00 4.36
Periwinkle (survey)
#8E82FE
ΔE00 6.38
Mediumpurple
#9370DB
ΔE00 6.72
Lavender Blue
#8B88F8
ΔE00 7.61
Dark Periwinkle
#665FD1
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786FF3 #EAF36F
analogous
#6FA8F3 #786FF3 #BA6FF3
triadic
#786FF3 #F3786F #6FF378
tetradic
#786FF3 #F36FA8 #EAF36F #6FF3BA
square
#786FF3 #F36FA8 #EAF36F #6FF3BA
split-complementary
#786FF3 #F3BA6F #A8F36F
monochromatic
#1F12D6 #4337EE #786FF3 #ADA7F8 #E2E0FC
Accessibility & contrast
On white
3.91
#786FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#786FF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #786FF3
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786FF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##786FF3 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D85F8
Deuteranopia (green-blind)
#057CF0
Tritanopia (blue-blind)
#478DA6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #786ff3; /* rgb */ color: rgb(120, 111, 243); /* oklch */ color: oklch(61.7% 0.191 282.3);
Tailwind
colors: {
custom: {
50: '#a798f8',
500: '#786ff3',
950: '#000000',
},
}SCSS
$custom: #786ff3; $custom-light: #a798f8; $custom-dark: #000000;
JSON
{
"hex": "#786ff3",
"rgb": {
"r": 120,
"g": 111,
"b": 243
},
"hsl": {
"h": 244.091,
"s": 84.615,
"l": 69.412
},
"oklch": {
"l": 0.61746,
"c": 0.19149,
"h": 282.3
},
"luminance": 0.21833
}Semantic roles & 50–950 ramp
primary
#786FF3
secondary
#EFF2CC
accent
#E104D2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85