#7166F0#7166F0
#7166F0 is a mid, highly saturated blue. Relative luminance 0.193; OKLCH L 59.5% C 0.200 H 282.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7166F0 |
|---|---|
| RGB | rgb(113, 102, 240) |
| HSL | hsl(245, 82%, 67%) |
| HSV | hsv(245, 58%, 94%) |
| CMYK | cmyk(52.9%, 57.5%, 0%, 5.9%) |
| CIE-LAB | lab(51.04, 40.87, -68.36) |
| CIE-LCH | lch(51.04, 79.64, 300.87°) |
| OKLab | oklab(59.47% 0.0417 -0.1958) |
| OKLCH | oklch(59.47% 0.2 282) |
| XYZ | xyz(27.2848, 19.3031, 84.7093) |
| Luminance | 0.1930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.76
Dark Periwinkle
#665FD1
ΔE00 5.30
Light Indigo
#6D5ACF
ΔE00 6.16
Purpley
#8756E4
ΔE00 6.29
Cornflower
#6A79F7
ΔE00 6.40
Slate Blue
#6A5ACD
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166F0 #E5F066
analogous
#66A0F0 #7166F0 #B666F0
triadic
#7166F0 #F07166 #66F071
tetradic
#7166F0 #F066A0 #E5F066 #66F0B6
square
#7166F0 #F066A0 #E5F066 #66F0B6
split-complementary
#7166F0 #F0B666 #A0F066
monochromatic
#2214C8 #3D2EEB #7166F0 #A59EF5 #D8D5FB
Accessibility & contrast
On white
4.32
#7166F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#7166F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7166F0
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7166F0 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#3986A1
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7166f0; /* rgb */ color: rgb(113, 102, 240); /* oklch */ color: oklch(59.5% 0.200 282.0);
Tailwind
colors: {
custom: {
50: '#a392f6',
500: '#7166f0',
950: '#000000',
},
}SCSS
$custom: #7166f0; $custom-light: #a392f6; $custom-dark: #000000;
JSON
{
"hex": "#7166f0",
"rgb": {
"r": 113,
"g": 102,
"b": 240
},
"hsl": {
"h": 244.783,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.59468,
"c": 0.20024,
"h": 282
},
"luminance": 0.19305
}Semantic roles & 50–950 ramp
primary
#7166F0
secondary
#EBEFC3
accent
#DF07CD
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85