#7161D2#7161D2
#7161D2 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.5% C 0.168 H 286.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7161D2 |
|---|---|
| RGB | rgb(113, 97, 210) |
| HSL | hsl(248, 56%, 60%) |
| HSV | hsv(248, 54%, 82%) |
| CMYK | cmyk(46.2%, 53.8%, 0%, 17.6%) |
| CIE-LAB | lab(47.90, 34.87, -56.48) |
| CIE-LCH | lch(47.90, 66.38, 301.69°) |
| OKLab | oklab(56.51% 0.0468 -0.1609) |
| OKLCH | oklch(56.51% 0.168 286.2) |
| XYZ | xyz(22.7142, 16.7123, 62.9892) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.10
Light Indigo
#6D5ACF
ΔE00 2.27
Slate Blue
#6A5ACD
ΔE00 2.52
Iris
#6258C4
ΔE00 4.20
Mediumslateblue
#7B68EE
ΔE00 4.92
Purpley
#8756E4
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7161D2 #C2D261
analogous
#6189D2 #7161D2 #AA61D2
triadic
#7161D2 #D27161 #61D271
tetradic
#7161D2 #D26189 #C2D261 #61D2AA
square
#7161D2 #D26189 #C2D261 #61D2AA
split-complementary
#7161D2 #D2AA61 #89D261
monochromatic
#372990 #4A36BF #7161D2 #9C91E0 #C7C0ED
Accessibility & contrast
On white
4.84
#7161D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#7161D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7161D2
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7161D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7161D2 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2575D6
Deuteranopia (green-blind)
#236ED0
Tritanopia (blue-blind)
#517A90
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7161d2; /* rgb */ color: rgb(113, 97, 210); /* oklch */ color: oklch(56.5% 0.168 286.2);
Tailwind
colors: {
custom: {
50: '#a08ee0',
500: '#7161d2',
950: '#000000',
},
}SCSS
$custom: #7161d2; $custom-light: #a08ee0; $custom-dark: #000000;
JSON
{
"hex": "#7161d2",
"rgb": {
"r": 113,
"g": 97,
"b": 210
},
"hsl": {
"h": 248.496,
"s": 55.665,
"l": 60.196
},
"oklch": {
"l": 0.56505,
"c": 0.1676,
"h": 286.2
},
"luminance": 0.16713
}Semantic roles & 50–950 ramp
primary
#7161D2
secondary
#D7DDB2
accent
#C322AC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83