#7166F1#7166F1
#7166F1 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.5% C 0.202 H 281.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7166F1 |
|---|---|
| RGB | rgb(113, 102, 241) |
| HSL | hsl(245, 83%, 67%) |
| HSV | hsv(245, 58%, 95%) |
| CMYK | cmyk(53.1%, 57.7%, 0%, 5.5%) |
| CIE-LAB | lab(51.11, 41.17, -68.81) |
| CIE-LCH | lch(51.11, 80.18, 300.90°) |
| OKLab | oklab(59.54% 0.0417 -0.1972) |
| OKLCH | oklch(59.54% 0.202 281.9) |
| XYZ | xyz(27.4337, 19.3627, 85.4938) |
| Luminance | 0.1936 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.77
Dark Periwinkle
#665FD1
ΔE00 5.42
Light Indigo
#6D5ACF
ΔE00 6.27
Purpley
#8756E4
ΔE00 6.32
Cornflower
#6A79F7
ΔE00 6.37
Slate Blue
#6A5ACD
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166F1 #E6F166
analogous
#66A1F1 #7166F1 #B666F1
triadic
#7166F1 #F17166 #66F171
tetradic
#7166F1 #F166A1 #E6F166 #66F1B6
square
#7166F1 #F166A1 #E6F166 #66F1B6
split-complementary
#7166F1 #F1B666 #A1F166
monochromatic
#2112CA #3D2EEC #7166F1 #A59EF6 #D9D6FB
Accessibility & contrast
On white
4.31
#7166F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#7166F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7166F1
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7166F1 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#3887A2
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7166f1; /* rgb */ color: rgb(113, 102, 241); /* oklch */ color: oklch(59.5% 0.202 281.9);
Tailwind
colors: {
custom: {
50: '#a392f7',
500: '#7166f1',
950: '#000000',
},
}SCSS
$custom: #7166f1; $custom-light: #a392f7; $custom-dark: #000000;
JSON
{
"hex": "#7166f1",
"rgb": {
"r": 113,
"g": 102,
"b": 241
},
"hsl": {
"h": 244.748,
"s": 83.234,
"l": 67.255
},
"oklch": {
"l": 0.5954,
"c": 0.20152,
"h": 281.9
},
"luminance": 0.19364
}Semantic roles & 50–950 ramp
primary
#7166F1
secondary
#ECEFC3
accent
#E006CE
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85