#7166CF#7166CF
#7166CF is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.2% C 0.157 H 285.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7166CF |
|---|---|
| RGB | rgb(113, 102, 207) |
| HSL | hsl(246, 52%, 61%) |
| HSV | hsv(246, 51%, 81%) |
| CMYK | cmyk(45.4%, 50.7%, 0%, 18.8%) |
| CIE-LAB | lab(48.91, 31.00, -53.15) |
| CIE-LCH | lch(48.91, 61.53, 300.25°) |
| OKLab | oklab(57.2% 0.0407 -0.1511) |
| OKLCH | oklch(57.2% 0.157 285.1) |
| XYZ | xyz(22.8206, 17.5175, 61.1982) |
| Luminance | 0.1752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.89
Light Indigo
#6D5ACF
ΔE00 3.79
Slate Blue
#6A5ACD
ΔE00 3.90
Mediumslateblue
#7B68EE
ΔE00 4.84
Iris
#6258C4
ΔE00 5.17
Purpley
#8756E4
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166CF #C4CF66
analogous
#668FCF #7166CF #A666CF
triadic
#7166CF #CF7166 #66CF71
tetradic
#7166CF #CF668F #C4CF66 #66CFA6
square
#7166CF #CF668F #C4CF66 #66CFA6
split-complementary
#7166CF #CFA666 #8FCF66
monochromatic
#372D8E #493BBD #7166CF #9C95DE #C7C3EC
Accessibility & contrast
On white
4.66
#7166CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#7166CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7166CF
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7166CF | 1.00 | 4.66 | 4.50 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3677D3
Deuteranopia (green-blind)
#3371CD
Tritanopia (blue-blind)
#537C91
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7166cf; /* rgb */ color: rgb(113, 102, 207); /* oklch */ color: oklch(57.2% 0.157 285.1);
Tailwind
colors: {
custom: {
50: '#9f92de',
500: '#7166cf',
950: '#000000',
},
}SCSS
$custom: #7166cf; $custom-light: #9f92de; $custom-dark: #000000;
JSON
{
"hex": "#7166cf",
"rgb": {
"r": 113,
"g": 102,
"b": 207
},
"hsl": {
"h": 246.286,
"s": 52.239,
"l": 60.588
},
"oklch": {
"l": 0.57199,
"c": 0.1565,
"h": 285.1
},
"luminance": 0.17518
}Semantic roles & 50–950 ramp
primary
#7166CF
secondary
#D8DCB4
accent
#C026B0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83