#7166CD#7166CD
#7166CD is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.1% C 0.154 H 285.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7166CD |
|---|---|
| RGB | rgb(113, 102, 205) |
| HSL | hsl(246, 51%, 60%) |
| HSV | hsv(246, 50%, 80%) |
| CMYK | cmyk(44.9%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(48.79, 30.41, -52.20) |
| CIE-LCH | lch(48.79, 60.41, 300.23°) |
| OKLab | oklab(57.07% 0.0406 -0.1483) |
| OKLCH | oklch(57.07% 0.154 285.3) |
| XYZ | xyz(22.5777, 17.4203, 59.9186) |
| Luminance | 0.1742 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.96
Light Indigo
#6D5ACF
ΔE00 3.82
Slate Blue
#6A5ACD
ΔE00 3.90
Iris
#6258C4
ΔE00 5.10
Mediumslateblue
#7B68EE
ΔE00 5.12
Purpley
#8756E4
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166CD #C2CD66
analogous
#668ECD #7166CD #A566CD
triadic
#7166CD #CD7166 #66CD71
tetradic
#7166CD #CD668E #C2CD66 #66CDA5
square
#7166CD #CD668E #C2CD66 #66CDA5
split-complementary
#7166CD #CDA566 #8ECD66
monochromatic
#372D8B #4A3DB9 #7166CD #9C94DC #C7C2EB
Accessibility & contrast
On white
4.68
#7166CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#7166CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7166CD
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7166CD | 1.00 | 4.68 | 4.48 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#547C90
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7166cd; /* rgb */ color: rgb(113, 102, 205); /* oklch */ color: oklch(57.1% 0.154 285.3);
Tailwind
colors: {
custom: {
50: '#9f92dd',
500: '#7166cd',
950: '#000000',
},
}SCSS
$custom: #7166cd; $custom-light: #9f92dd; $custom-dark: #000000;
JSON
{
"hex": "#7166cd",
"rgb": {
"r": 113,
"g": 102,
"b": 205
},
"hsl": {
"h": 246.408,
"s": 50.739,
"l": 60.196
},
"oklch": {
"l": 0.57071,
"c": 0.15376,
"h": 285.3
},
"luminance": 0.17421
}Semantic roles & 50–950 ramp
primary
#7166CD
secondary
#D7DBB4
accent
#BE27AE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83