#7166AF#7166AF
#7166AF is a mid, moderate blue. Relative luminance 0.161; OKLCH L 55.3% C 0.112 H 289.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7166AF |
|---|---|
| RGB | rgb(113, 102, 175) |
| HSL | hsl(249, 31%, 54%) |
| HSV | hsv(249, 42%, 69%) |
| CMYK | cmyk(35.4%, 41.7%, 0%, 31.4%) |
| CIE-LAB | lab(47.12, 21.82, -37.51) |
| CIE-LCH | lch(47.12, 43.39, 300.19°) |
| OKLab | oklab(55.27% 0.0366 -0.1053) |
| OKLCH | oklch(55.27% 0.112 289.1) |
| XYZ | xyz(19.2972, 16.1081, 42.6416) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 6.90
Slate Blue
#6A5ACD
ΔE00 6.94
Dark Periwinkle
#665FD1
ΔE00 6.94
Light Indigo
#6D5ACF
ΔE00 7.05
Deep Lavender
#8D5EB7
ΔE00 7.36
Royal Purple
#7851A9
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166AF #A4AF66
analogous
#6680AF #7166AF #9666AF
triadic
#7166AF #AF7166 #66AF71
tetradic
#7166AF #AF6680 #A4AF66 #66AF96
square
#7166AF #AF6680 #A4AF66 #66AF96
split-complementary
#7166AF #AF9666 #80AF66
monochromatic
#3C3566 #544A8E #7166AF #968EC4 #BCB6D9
Accessibility & contrast
On white
4.97
#7166AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#7166AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7166AF
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7166AF | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#4F6EAD
Tritanopia (blue-blind)
#617482
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7166af; /* rgb */ color: rgb(113, 102, 175); /* oklch */ color: oklch(55.3% 0.112 289.1);
Tailwind
colors: {
custom: {
50: '#9c91c7',
500: '#7166af',
950: '#000000',
},
}SCSS
$custom: #7166af; $custom-light: #9c91c7; $custom-dark: #000000;
JSON
{
"hex": "#7166af",
"rgb": {
"r": 113,
"g": 102,
"b": 175
},
"hsl": {
"h": 249.041,
"s": 31.33,
"l": 54.314
},
"oklch": {
"l": 0.5527,
"c": 0.1115,
"h": 289.1
},
"luminance": 0.16109
}Semantic roles & 50–950 ramp
primary
#7166AF
secondary
#C3C8A9
accent
#C860B8
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82