#7166DF#7166DF
#7166DF is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.3% C 0.178 H 283.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7166DF |
|---|---|
| RGB | rgb(113, 102, 223) |
| HSL | hsl(245, 65%, 64%) |
| HSV | hsv(245, 54%, 87%) |
| CMYK | cmyk(49.3%, 54.3%, 0%, 12.5%) |
| CIE-LAB | lab(49.91, 35.75, -60.63) |
| CIE-LCH | lch(49.91, 70.39, 300.53°) |
| OKLab | oklab(58.27% 0.0416 -0.1731) |
| OKLCH | oklch(58.27% 0.178 283.5) |
| XYZ | xyz(24.8767, 18.3399, 72.0269) |
| Luminance | 0.1834 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.81
Dark Periwinkle
#665FD1
ΔE00 3.50
Light Indigo
#6D5ACF
ΔE00 4.49
Slate Blue
#6A5ACD
ΔE00 4.72
Purpley
#8756E4
ΔE00 6.08
Iris
#6258C4
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166DF #D4DF66
analogous
#6697DF #7166DF #AD66DF
triadic
#7166DF #DF7166 #66DF71
tetradic
#7166DF #DF6697 #D4DF66 #66DFAD
square
#7166DF #DF6697 #D4DF66 #66DFAD
split-complementary
#7166DF #DFAD66 #97DF66
monochromatic
#2F23A8 #4233D4 #7166DF #A099EA #CFCBF4
Accessibility & contrast
On white
4.50
#7166DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#7166DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7166DF
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7166DF | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F7BE3
Deuteranopia (green-blind)
#1473DC
Tritanopia (blue-blind)
#488199
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7166df; /* rgb */ color: rgb(113, 102, 223); /* oklch */ color: oklch(58.3% 0.178 283.5);
Tailwind
colors: {
custom: {
50: '#a192ea',
500: '#7166df',
950: '#000000',
},
}SCSS
$custom: #7166df; $custom-light: #a192ea; $custom-dark: #000000;
JSON
{
"hex": "#7166df",
"rgb": {
"r": 113,
"g": 102,
"b": 223
},
"hsl": {
"h": 245.455,
"s": 65.405,
"l": 63.725
},
"oklch": {
"l": 0.58267,
"c": 0.17804,
"h": 283.5
},
"luminance": 0.18341
}Semantic roles & 50–950 ramp
primary
#7166DF
secondary
#E2E6BB
accent
#CD18BD
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84