#7171F6#7171F6
#7171F6 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.8% C 0.194 H 279.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7171F6 |
|---|---|
| RGB | rgb(113, 113, 246) |
| HSL | hsl(240, 88%, 70%) |
| HSV | hsv(240, 54%, 96%) |
| CMYK | cmyk(54.1%, 54.1%, 0%, 3.5%) |
| CIE-LAB | lab(54.00, 36.22, -66.92) |
| CIE-LCH | lch(54.00, 76.09, 298.42°) |
| OKLab | oklab(61.79% 0.0307 -0.1915) |
| OKLCH | oklch(61.79% 0.194 279.1) |
| XYZ | xyz(29.3445, 21.9729, 89.8658) |
| Luminance | 0.2198 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.03
Mediumslateblue
#7B68EE
ΔE00 3.64
Periwinkle (survey)
#8E82FE
ΔE00 6.50
Cornflower Blue
#5170D7
ΔE00 7.15
Lavender Blue
#8B88F8
ΔE00 7.45
Mediumpurple
#9370DB
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7171F6 #F6F671
analogous
#71B3F6 #7171F6 #B371F6
triadic
#7171F6 #F67171 #71F671
tetradic
#7171F6 #F671B3 #F6F671 #71F6B3
square
#7171F6 #F671B3 #F6F671 #71F6B3
split-complementary
#7171F6 #F6B371 #B3F671
monochromatic
#0E0EDE #3737F2 #7171F6 #ABABFA #E2E2FD
Accessibility & contrast
On white
3.89
#7171F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#7171F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7171F6
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7171F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7171F6 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A86FB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#3090A9
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #7171f6; /* rgb */ color: rgb(113, 113, 246); /* oklch */ color: oklch(61.8% 0.194 279.1);
Tailwind
colors: {
custom: {
50: '#a39afa',
500: '#7171f6',
950: '#000000',
},
}SCSS
$custom: #7171f6; $custom-light: #a39afa; $custom-dark: #000000;
JSON
{
"hex": "#7171f6",
"rgb": {
"r": 113,
"g": 113,
"b": 246
},
"hsl": {
"h": 240,
"s": 88.079,
"l": 70.392
},
"oklch": {
"l": 0.61791,
"c": 0.19398,
"h": 279.1
},
"luminance": 0.21975
}Semantic roles & 50–950 ramp
primary
#7171F6
secondary
#F4F4CF
accent
#E501E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85