#7166B3#7166B3
#7166B3 is a mid, moderate blue. Relative luminance 0.163; OKLCH L 55.5% C 0.117 H 288.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7166B3 |
|---|---|
| RGB | rgb(113, 102, 179) |
| HSL | hsl(249, 34%, 55%) |
| HSV | hsv(249, 43%, 70%) |
| CMYK | cmyk(36.9%, 43%, 0%, 29.8%) |
| CIE-LAB | lab(47.32, 22.93, -39.51) |
| CIE-LCH | lch(47.32, 45.68, 300.13°) |
| OKLab | oklab(55.5% 0.0373 -0.1112) |
| OKLCH | oklch(55.5% 0.117 288.5) |
| XYZ | xyz(19.6959, 16.2676, 44.7413) |
| Luminance | 0.1627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 6.21
Slate Blue
#6A5ACD
ΔE00 6.28
Iris
#6258C4
ΔE00 6.36
Light Indigo
#6D5ACF
ΔE00 6.38
Deep Lavender
#8D5EB7
ΔE00 7.33
Royal Purple
#7851A9
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166B3 #A8B366
analogous
#6682B3 #7166B3 #9766B3
triadic
#7166B3 #B37166 #66B371
tetradic
#7166B3 #B36682 #A8B366 #66B397
square
#7166B3 #B36682 #A8B366 #66B397
split-complementary
#7166B3 #B39766 #82B366
monochromatic
#3C356A #544993 #7166B3 #978FC7 #BDB8DC
Accessibility & contrast
On white
4.94
#7166B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#7166B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7166B3
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7166B3 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C72B6
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#607584
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7166b3; /* rgb */ color: rgb(113, 102, 179); /* oklch */ color: oklch(55.5% 0.117 288.5);
Tailwind
colors: {
custom: {
50: '#9c91ca',
500: '#7166b3',
950: '#000000',
},
}SCSS
$custom: #7166b3; $custom-light: #9c91ca; $custom-dark: #000000;
JSON
{
"hex": "#7166b3",
"rgb": {
"r": 113,
"g": 102,
"b": 179
},
"hsl": {
"h": 248.571,
"s": 33.624,
"l": 55.098
},
"oklch": {
"l": 0.55495,
"c": 0.11726,
"h": 288.5
},
"luminance": 0.16268
}Semantic roles & 50–950 ramp
primary
#7166B3
secondary
#C6CBAA
accent
#CA5EBA
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0D13
muted
#7E7D82