#786FAA#786FAA
#786FAA is a mid, moderate blue. Relative luminance 0.183; OKLCH L 57.4% C 0.090 H 290.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #786FAA |
|---|---|
| RGB | rgb(120, 111, 170) |
| HSL | hsl(249, 26%, 55%) |
| HSV | hsv(249, 35%, 67%) |
| CMYK | cmyk(29.4%, 34.7%, 0%, 33.3%) |
| CIE-LAB | lab(49.81, 17.06, -30.31) |
| CIE-LCH | lch(49.81, 34.78, 299.38°) |
| OKLab | oklab(57.4% 0.0311 -0.0843) |
| OKLCH | oklch(57.4% 0.09 290.3) |
| XYZ | xyz(20.6840, 18.2638, 40.4579) |
| Luminance | 0.1826 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Lavender
#856798
ΔE00 7.19
Deep Lilac
#966EBD
ΔE00 7.66
Deep Lavender
#8D5EB7
ΔE00 8.60
Faded Purple
#916E99
ΔE00 9.47
Grey Purple
#826D8C
ΔE00 9.49
Greyish Purple
#887191
ΔE00 9.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786FAA #A1AA6F
analogous
#6F83AA #786FAA #966FAA
triadic
#786FAA #AA786F #6FAA78
tetradic
#786FAA #AA6F83 #A1AA6F #6FAA96
square
#786FAA #AA6F83 #A1AA6F #6FAA96
split-complementary
#786FAA #AA966F #83AA6F
monochromatic
#413B64 #5A528A #786FAA #9C95C1 #C0BCD7
Accessibility & contrast
On white
4.51
#786FAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#786FAA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #786FAA
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786FAA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##786FAA | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F78AC
Deuteranopia (green-blind)
#5F75A8
Tritanopia (blue-blind)
#6D7985
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #786faa; /* rgb */ color: rgb(120, 111, 170); /* oklch */ color: oklch(57.4% 0.090 290.3);
Tailwind
colors: {
custom: {
50: '#a098c3',
500: '#786faa',
950: '#000000',
},
}SCSS
$custom: #786faa; $custom-light: #a098c3; $custom-dark: #000000;
JSON
{
"hex": "#786faa",
"rgb": {
"r": 120,
"g": 111,
"b": 170
},
"hsl": {
"h": 249.153,
"s": 25.764,
"l": 55.098
},
"oklch": {
"l": 0.57397,
"c": 0.08991,
"h": 290.3
},
"luminance": 0.18264
}Semantic roles & 50–950 ramp
primary
#786FAA
secondary
#C3C7AE
accent
#C266B4
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0F0D12
muted
#7E7E81