#7166DC#7166DC
#7166DC is a mid, vivid blue. Relative luminance 0.182; OKLCH L 58.1% C 0.174 H 283.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7166DC |
|---|---|
| RGB | rgb(113, 102, 220) |
| HSL | hsl(246, 63%, 63%) |
| HSV | hsv(246, 54%, 86%) |
| CMYK | cmyk(48.6%, 53.6%, 0%, 13.7%) |
| CIE-LAB | lab(49.71, 34.86, -59.25) |
| CIE-LCH | lch(49.71, 68.74, 300.47°) |
| OKLab | oklab(58.06% 0.0415 -0.169) |
| OKLCH | oklch(58.06% 0.174 283.8) |
| XYZ | xyz(24.4758, 18.1795, 69.9156) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.15
Dark Periwinkle
#665FD1
ΔE00 3.26
Light Indigo
#6D5ACF
ΔE00 4.27
Slate Blue
#6A5ACD
ΔE00 4.48
Iris
#6258C4
ΔE00 6.05
Purpley
#8756E4
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166DC #D1DC66
analogous
#6696DC #7166DC #AC66DC
triadic
#7166DC #DC7166 #66DC71
tetradic
#7166DC #DC6696 #D1DC66 #66DCAC
square
#7166DC #DC6696 #D1DC66 #66DCAC
split-complementary
#7166DC #DCAC66 #96DC66
monochromatic
#3125A2 #4334D1 #7166DC #9F98E7 #CDCAF3
Accessibility & contrast
On white
4.53
#7166DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#7166DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7166DC
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7166DC | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#257AE0
Deuteranopia (green-blind)
#1C72D9
Tritanopia (blue-blind)
#4A8097
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7166dc; /* rgb */ color: rgb(113, 102, 220); /* oklch */ color: oklch(58.1% 0.174 283.8);
Tailwind
colors: {
custom: {
50: '#a192e8',
500: '#7166dc',
950: '#000000',
},
}SCSS
$custom: #7166dc; $custom-light: #a192e8; $custom-dark: #000000;
JSON
{
"hex": "#7166dc",
"rgb": {
"r": 113,
"g": 102,
"b": 220
},
"hsl": {
"h": 245.593,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.58062,
"c": 0.17405,
"h": 283.8
},
"luminance": 0.18181
}Semantic roles & 50–950 ramp
primary
#7166DC
secondary
#E0E4BA
accent
#CB1BBA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D16
muted
#7F7D84