#7166B5#7166B5
#7166B5 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.6% C 0.120 H 288.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7166B5 |
|---|---|
| RGB | rgb(113, 102, 181) |
| HSL | hsl(248, 35%, 55%) |
| HSV | hsv(248, 44%, 71%) |
| CMYK | cmyk(37.6%, 43.6%, 0%, 29%) |
| CIE-LAB | lab(47.43, 23.49, -40.51) |
| CIE-LCH | lch(47.43, 46.83, 300.11°) |
| OKLab | oklab(55.61% 0.0376 -0.1141) |
| OKLCH | oklch(55.61% 0.12 288.2) |
| XYZ | xyz(19.8996, 16.3491, 45.8143) |
| Luminance | 0.1635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 5.86
Slate Blue
#6A5ACD
ΔE00 5.97
Light Indigo
#6D5ACF
ΔE00 6.07
Iris
#6258C4
ΔE00 6.11
Deep Lavender
#8D5EB7
ΔE00 7.35
Royal Purple
#7851A9
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166B5 #AAB566
analogous
#6682B5 #7166B5 #9866B5
triadic
#7166B5 #B57166 #66B571
tetradic
#7166B5 #B56682 #AAB566 #66B598
square
#7166B5 #B56682 #AAB566 #66B598
split-complementary
#7166B5 #B59866 #82B566
monochromatic
#3C346C #534895 #7166B5 #978FC9 #BEB8DD
Accessibility & contrast
On white
4.92
#7166B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#7166B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7166B5
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7166B5 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B72B8
Deuteranopia (green-blind)
#4B6FB3
Tritanopia (blue-blind)
#5F7585
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7166b5; /* rgb */ color: rgb(113, 102, 181); /* oklch */ color: oklch(55.6% 0.120 288.2);
Tailwind
colors: {
custom: {
50: '#9d91cb',
500: '#7166b5',
950: '#000000',
},
}SCSS
$custom: #7166b5; $custom-light: #9d91cb; $custom-dark: #000000;
JSON
{
"hex": "#7166b5",
"rgb": {
"r": 113,
"g": 102,
"b": 181
},
"hsl": {
"h": 248.354,
"s": 34.802,
"l": 55.49
},
"oklch": {
"l": 0.55609,
"c": 0.12013,
"h": 288.2
},
"luminance": 0.1635
}Semantic roles & 50–950 ramp
primary
#7166B5
secondary
#C7CCAB
accent
#CB5DBC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0D13
muted
#7E7D82