#7166E6#7166E6
#7166E6 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.8% C 0.187 H 282.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7166E6 |
|---|---|
| RGB | rgb(113, 102, 230) |
| HSL | hsl(245, 72%, 65%) |
| HSV | hsv(245, 56%, 90%) |
| CMYK | cmyk(50.9%, 55.7%, 0%, 9.8%) |
| CIE-LAB | lab(50.36, 37.86, -63.84) |
| CIE-LCH | lch(50.36, 74.22, 300.67°) |
| OKLab | oklab(58.75% 0.0417 -0.1826) |
| OKLCH | oklch(58.75% 0.187 282.9) |
| XYZ | xyz(25.8400, 18.7252, 77.1003) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.15
Dark Periwinkle
#665FD1
ΔE00 4.18
Light Indigo
#6D5ACF
ΔE00 5.12
Slate Blue
#6A5ACD
ΔE00 5.38
Purpley
#8756E4
ΔE00 6.06
Cornflower
#6A79F7
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166E6 #DBE666
analogous
#669BE6 #7166E6 #B166E6
triadic
#7166E6 #E67166 #66E671
tetradic
#7166E6 #E6669B #DBE666 #66E6B1
square
#7166E6 #E6669B #DBE666 #66E6B1
split-complementary
#7166E6 #E6B166 #9BE666
monochromatic
#2A1DB4 #4031DD #7166E6 #A29BEF #D3CFF7
Accessibility & contrast
On white
4.43
#7166E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7166E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7166E6
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7166E6 | 1.00 | 4.43 | 4.75 | 4.75 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A7CEA
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#43839C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7166e6; /* rgb */ color: rgb(113, 102, 230); /* oklch */ color: oklch(58.8% 0.187 282.9);
Tailwind
colors: {
custom: {
50: '#a292ef',
500: '#7166e6',
950: '#000000',
},
}SCSS
$custom: #7166e6; $custom-light: #a292ef; $custom-dark: #000000;
JSON
{
"hex": "#7166e6",
"rgb": {
"r": 113,
"g": 102,
"b": 230
},
"hsl": {
"h": 245.156,
"s": 71.91,
"l": 65.098
},
"oklch": {
"l": 0.58753,
"c": 0.18726,
"h": 282.9
},
"luminance": 0.18727
}Semantic roles & 50–950 ramp
primary
#7166E6
secondary
#E6EABE
accent
#D412C3
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84