#7166DE#7166DE
#7166DE is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.2% C 0.177 H 283.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7166DE |
|---|---|
| RGB | rgb(113, 102, 222) |
| HSL | hsl(246, 65%, 64%) |
| HSV | hsv(246, 54%, 87%) |
| CMYK | cmyk(49.1%, 54.1%, 0%, 12.9%) |
| CIE-LAB | lab(49.84, 35.46, -60.17) |
| CIE-LCH | lch(49.84, 69.84, 300.51°) |
| OKLab | oklab(58.2% 0.0415 -0.1718) |
| OKLCH | oklch(58.2% 0.177 283.6) |
| XYZ | xyz(24.7423, 18.2861, 71.3189) |
| Luminance | 0.1829 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.92
Dark Periwinkle
#665FD1
ΔE00 3.41
Light Indigo
#6D5ACF
ΔE00 4.42
Slate Blue
#6A5ACD
ΔE00 4.64
Purpley
#8756E4
ΔE00 6.09
Iris
#6258C4
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166DE #D3DE66
analogous
#6697DE #7166DE #AD66DE
triadic
#7166DE #DE7166 #66DE71
tetradic
#7166DE #DE6697 #D3DE66 #66DEAD
square
#7166DE #DE6697 #D3DE66 #66DEAD
split-complementary
#7166DE #DEAD66 #97DE66
monochromatic
#3024A6 #4234D3 #7166DE #A098E9 #CECBF4
Accessibility & contrast
On white
4.51
#7166DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#7166DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7166DE
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7166DE | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#217AE2
Deuteranopia (green-blind)
#1773DB
Tritanopia (blue-blind)
#498198
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7166de; /* rgb */ color: rgb(113, 102, 222); /* oklch */ color: oklch(58.2% 0.177 283.6);
Tailwind
colors: {
custom: {
50: '#a192e9',
500: '#7166de',
950: '#000000',
},
}SCSS
$custom: #7166de; $custom-light: #a192e9; $custom-dark: #000000;
JSON
{
"hex": "#7166de",
"rgb": {
"r": 113,
"g": 102,
"b": 222
},
"hsl": {
"h": 245.5,
"s": 64.516,
"l": 63.529
},
"oklch": {
"l": 0.58198,
"c": 0.17672,
"h": 283.6
},
"luminance": 0.18287
}Semantic roles & 50–950 ramp
primary
#7166DE
secondary
#E1E5BB
accent
#CC19BC
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84