#786EA1#786EA1
#786EA1 is a mid, moderate violet. Relative luminance 0.177; OKLCH L 56.8% C 0.078 H 292.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #786EA1 |
|---|---|
| RGB | rgb(120, 110, 161) |
| HSL | hsl(252, 21%, 53%) |
| HSV | hsv(252, 32%, 63%) |
| CMYK | cmyk(25.5%, 31.7%, 0%, 36.9%) |
| CIE-LAB | lab(49.15, 15.34, -26.08) |
| CIE-LCH | lch(49.15, 30.26, 300.46°) |
| OKLab | oklab(56.76% 0.0302 -0.0722) |
| OKLCH | oklch(56.76% 0.078 292.7) |
| XYZ | xyz(19.7531, 17.7179, 36.0905) |
| Luminance | 0.1772 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Lavender
#856798
ΔE00 5.83
Grey Purple
#826D8C
ΔE00 7.46
Greyish Purple
#887191
ΔE00 7.77
Faded Purple
#916E99
ΔE00 8.19
Deep Lilac
#966EBD
ΔE00 8.44
Deep Lavender
#8D5EB7
ΔE00 9.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786EA1 #97A16E
analogous
#6E7DA1 #786EA1 #916EA1
triadic
#786EA1 #A1786E #6EA178
tetradic
#786EA1 #A16E7D #97A16E #6EA191
square
#786EA1 #A16E7D #97A16E #6EA191
split-complementary
#786EA1 #A1916E #7DA16E
monochromatic
#413A5A #5B537F #786EA1 #9B93B9 #BDB8D1
Accessibility & contrast
On white
4.62
#786EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#786EA1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #786EA1
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786EA1 | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6175A3
Deuteranopia (green-blind)
#6274A0
Tritanopia (blue-blind)
#6F7780
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #786ea1; /* rgb */ color: rgb(120, 110, 161); /* oklch */ color: oklch(56.8% 0.078 292.7);
Tailwind
colors: {
custom: {
50: '#a097bd',
500: '#786ea1',
950: '#000000',
},
}SCSS
$custom: #786ea1; $custom-light: #a097bd; $custom-dark: #000000;
JSON
{
"hex": "#786ea1",
"rgb": {
"r": 120,
"g": 110,
"b": 161
},
"hsl": {
"h": 251.765,
"s": 21.339,
"l": 53.137
},
"oklch": {
"l": 0.56758,
"c": 0.07828,
"h": 292.7
},
"luminance": 0.17718
}Semantic roles & 50–950 ramp
primary
#786EA1
secondary
#BCC0AA
accent
#BE6AAD
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0F0D12
muted
#7E7E81