#7166D2#7166D2
#7166D2 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.4% C 0.161 H 284.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7166D2 |
|---|---|
| RGB | rgb(113, 102, 210) |
| HSL | hsl(246, 55%, 61%) |
| HSV | hsv(246, 51%, 82%) |
| CMYK | cmyk(46.2%, 51.4%, 0%, 17.6%) |
| CIE-LAB | lab(49.09, 31.89, -54.57) |
| CIE-LCH | lch(49.09, 63.20, 300.30°) |
| OKLab | oklab(57.4% 0.0409 -0.1553) |
| OKLCH | oklch(57.4% 0.161 284.8) |
| XYZ | xyz(23.1909, 17.6656, 63.1481) |
| Luminance | 0.1767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.85
Light Indigo
#6D5ACF
ΔE00 3.81
Slate Blue
#6A5ACD
ΔE00 3.95
Mediumslateblue
#7B68EE
ΔE00 4.42
Iris
#6258C4
ΔE00 5.32
Purpley
#8756E4
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166D2 #C7D266
analogous
#6691D2 #7166D2 #A766D2
triadic
#7166D2 #D27166 #66D271
tetradic
#7166D2 #D26691 #C7D266 #66D2A7
square
#7166D2 #D26691 #C7D266 #66D2A7
split-complementary
#7166D2 #D2A766 #91D266
monochromatic
#362B93 #4739C2 #7166D2 #9D95E0 #C9C5EE
Accessibility & contrast
On white
4.63
#7166D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#7166D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7166D2
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7166D2 | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3378D6
Deuteranopia (green-blind)
#2F71D0
Tritanopia (blue-blind)
#517D92
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7166d2; /* rgb */ color: rgb(113, 102, 210); /* oklch */ color: oklch(57.4% 0.161 284.8);
Tailwind
colors: {
custom: {
50: '#a092e0',
500: '#7166d2',
950: '#000000',
},
}SCSS
$custom: #7166d2; $custom-light: #a092e0; $custom-dark: #000000;
JSON
{
"hex": "#7166d2",
"rgb": {
"r": 113,
"g": 102,
"b": 210
},
"hsl": {
"h": 246.111,
"s": 54.545,
"l": 61.176
},
"oklch": {
"l": 0.57395,
"c": 0.16059,
"h": 284.8
},
"luminance": 0.17667
}Semantic roles & 50–950 ramp
primary
#7166D2
secondary
#DADEB6
accent
#C223B2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83