#7166CC#7166CC
#7166CC is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.0% C 0.152 H 285.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7166CC |
|---|---|
| RGB | rgb(113, 102, 204) |
| HSL | hsl(246, 50%, 60%) |
| HSV | hsv(246, 50%, 80%) |
| CMYK | cmyk(44.6%, 50%, 0%, 20%) |
| CIE-LAB | lab(48.73, 30.12, -51.72) |
| CIE-LCH | lch(48.73, 59.85, 300.21°) |
| OKLab | oklab(57.01% 0.0405 -0.1469) |
| OKLCH | oklch(57.01% 0.152 285.4) |
| XYZ | xyz(22.4573, 17.3721, 59.2849) |
| Luminance | 0.1737 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.01
Light Indigo
#6D5ACF
ΔE00 3.84
Slate Blue
#6A5ACD
ΔE00 3.91
Iris
#6258C4
ΔE00 5.07
Mediumslateblue
#7B68EE
ΔE00 5.27
Purpley
#8756E4
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166CC #C1CC66
analogous
#668ECC #7166CC #A466CC
triadic
#7166CC #CC7166 #66CC71
tetradic
#7166CC #CC668E #C1CC66 #66CCA4
square
#7166CC #CC668E #C1CC66 #66CCA4
split-complementary
#7166CC #CCA466 #8ECC66
monochromatic
#382E8A #4A3DB8 #7166CC #9C94DB #C6C2EB
Accessibility & contrast
On white
4.69
#7166CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7166CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7166CC
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7166CC | 1.00 | 4.69 | 4.47 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3977D0
Deuteranopia (green-blind)
#3671CA
Tritanopia (blue-blind)
#547C8F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7166cc; /* rgb */ color: rgb(113, 102, 204); /* oklch */ color: oklch(57.0% 0.152 285.4);
Tailwind
colors: {
custom: {
50: '#9f92dc',
500: '#7166cc',
950: '#000000',
},
}SCSS
$custom: #7166cc; $custom-light: #9f92dc; $custom-dark: #000000;
JSON
{
"hex": "#7166cc",
"rgb": {
"r": 113,
"g": 102,
"b": 204
},
"hsl": {
"h": 246.471,
"s": 50,
"l": 60
},
"oklch": {
"l": 0.57007,
"c": 0.15239,
"h": 285.4
},
"luminance": 0.17373
}Semantic roles & 50–950 ramp
primary
#7166CC
secondary
#D6DBB3
accent
#DA4ECA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83