#7C799F#7C799F
#7C799F is a mid, muted blue. Relative luminance 0.205; OKLCH L 59.3% C 0.058 H 288.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7C799F |
|---|---|
| RGB | rgb(124, 121, 159) |
| HSL | hsl(245, 17%, 55%) |
| HSV | hsv(245, 24%, 62%) |
| CMYK | cmyk(22%, 23.9%, 0%, 37.6%) |
| CIE-LAB | lab(52.36, 9.57, -19.95) |
| CIE-LCH | lch(52.36, 22.12, 295.63°) |
| OKLab | oklab(59.29% 0.0179 -0.0547) |
| OKLCH | oklch(59.29% 0.058 288.1) |
| XYZ | xyz(21.4061, 20.4627, 35.6161) |
| Luminance | 0.2046 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Greyish Purple
#887191
ΔE00 7.39
Grey Purple
#826D8C
ΔE00 7.59
Dark Lavender
#856798
ΔE00 8.91
Purpley Grey
#947E94
ΔE00 9.32
Faded Purple
#916E99
ΔE00 9.41
Purple Grey
#866F85
ΔE00 9.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C799F #9C9F79
analogous
#79899F #7C799F #8F799F
triadic
#7C799F #9F7C79 #799F7C
tetradic
#7C799F #9F7989 #9C9F79 #799F8F
square
#7C799F #9F7989 #9C9F79 #799F8F
split-complementary
#7C799F #9F8F79 #899F79
monochromatic
#44425C #5E5B7F #7C799F #9F9DB9 #C2C0D2
Accessibility & contrast
On white
4.12
#7C799F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#7C799F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C799F
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C799F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C799F | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#707EA1
Deuteranopia (green-blind)
#6F7C9E
Tritanopia (blue-blind)
#757F86
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #7c799f; /* rgb */ color: rgb(124, 121, 159); /* oklch */ color: oklch(59.3% 0.058 288.1);
Tailwind
colors: {
custom: {
50: '#a29fbb',
500: '#7c799f',
950: '#000000',
},
}SCSS
$custom: #7c799f; $custom-light: #a29fbb; $custom-dark: #000000;
JSON
{
"hex": "#7c799f",
"rgb": {
"r": 124,
"g": 121,
"b": 159
},
"hsl": {
"h": 244.737,
"s": 16.522,
"l": 54.902
},
"oklch": {
"l": 0.59288,
"c": 0.0576,
"h": 288.1
},
"luminance": 0.20463
}Semantic roles & 50–950 ramp
primary
#7C799F
secondary
#C1C2B2
accent
#B96FB3
background
#FAF9FB
surface
#F3F2F6
border
#CDCCD0
text
#0F0E12
muted
#7F7E81