#7166CB#7166CB
#7166CB is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.9% C 0.151 H 285.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7166CB |
|---|---|
| RGB | rgb(113, 102, 203) |
| HSL | hsl(247, 49%, 60%) |
| HSV | hsv(247, 50%, 80%) |
| CMYK | cmyk(44.3%, 49.8%, 0%, 20.4%) |
| CIE-LAB | lab(48.67, 29.83, -51.24) |
| CIE-LCH | lch(48.67, 59.29, 300.20°) |
| OKLab | oklab(56.94% 0.0404 -0.1455) |
| OKLCH | oklch(56.94% 0.151 285.5) |
| XYZ | xyz(22.3378, 17.3243, 58.6553) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.07
Light Indigo
#6D5ACF
ΔE00 3.87
Slate Blue
#6A5ACD
ΔE00 3.93
Iris
#6258C4
ΔE00 5.05
Mediumslateblue
#7B68EE
ΔE00 5.41
Purpley
#8756E4
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166CB #C0CB66
analogous
#668DCB #7166CB #A466CB
triadic
#7166CB #CB7166 #66CB71
tetradic
#7166CB #CB668D #C0CB66 #66CBA4
square
#7166CB #CB668D #C0CB66 #66CBA4
split-complementary
#7166CB #CBA466 #8DCB66
monochromatic
#382E88 #4B3EB6 #7166CB #9B94DB #C6C1EA
Accessibility & contrast
On white
4.70
#7166CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7166CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7166CB
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7166CB | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A76CF
Deuteranopia (green-blind)
#3771C9
Tritanopia (blue-blind)
#557B8F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7166cb; /* rgb */ color: rgb(113, 102, 203); /* oklch */ color: oklch(56.9% 0.151 285.5);
Tailwind
colors: {
custom: {
50: '#9f92db',
500: '#7166cb',
950: '#000000',
},
}SCSS
$custom: #7166cb; $custom-light: #9f92db; $custom-dark: #000000;
JSON
{
"hex": "#7166cb",
"rgb": {
"r": 113,
"g": 102,
"b": 203
},
"hsl": {
"h": 246.535,
"s": 49.268,
"l": 59.804
},
"oklch": {
"l": 0.56943,
"c": 0.15102,
"h": 285.5
},
"luminance": 0.17325
}Semantic roles & 50–950 ramp
primary
#7166CB
secondary
#D6DAB3
accent
#D94FCA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83