#7166F2#7166F2
#7166F2 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.6% C 0.203 H 281.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7166F2 |
|---|---|
| RGB | rgb(113, 102, 242) |
| HSL | hsl(245, 84%, 67%) |
| HSV | hsv(245, 58%, 95%) |
| CMYK | cmyk(53.3%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(51.18, 41.47, -69.25) |
| CIE-LCH | lch(51.18, 80.72, 300.92°) |
| OKLab | oklab(59.61% 0.0417 -0.1985) |
| OKLCH | oklch(59.61% 0.203 281.9) |
| XYZ | xyz(27.5835, 19.4226, 86.2826) |
| Luminance | 0.1942 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.79
Dark Periwinkle
#665FD1
ΔE00 5.53
Cornflower
#6A79F7
ΔE00 6.34
Purpley
#8756E4
ΔE00 6.36
Light Indigo
#6D5ACF
ΔE00 6.38
Slate Blue
#6A5ACD
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166F2 #E7F266
analogous
#66A1F2 #7166F2 #B766F2
triadic
#7166F2 #F27166 #66F271
tetradic
#7166F2 #F266A1 #E7F266 #66F2B7
square
#7166F2 #F266A1 #E7F266 #66F2B7
split-complementary
#7166F2 #F2B766 #A1F266
monochromatic
#2011CC #3D2EED #7166F2 #A59EF7 #DAD7FC
Accessibility & contrast
On white
4.30
#7166F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#7166F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7166F2
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7166F2 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#3787A2
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7166f2; /* rgb */ color: rgb(113, 102, 242); /* oklch */ color: oklch(59.6% 0.203 281.9);
Tailwind
colors: {
custom: {
50: '#a492f7',
500: '#7166f2',
950: '#000000',
},
}SCSS
$custom: #7166f2; $custom-light: #a492f7; $custom-dark: #000000;
JSON
{
"hex": "#7166f2",
"rgb": {
"r": 113,
"g": 102,
"b": 242
},
"hsl": {
"h": 244.714,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.59613,
"c": 0.20281,
"h": 281.9
},
"luminance": 0.19424
}Semantic roles & 50–950 ramp
primary
#7166F2
secondary
#ECF0C4
accent
#E105D0
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85