#7161E5#7161E5
#7161E5 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.8% C 0.193 H 284.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7161E5 |
|---|---|
| RGB | rgb(113, 97, 229) |
| HSL | hsl(247, 72%, 64%) |
| HSV | hsv(247, 58%, 90%) |
| CMYK | cmyk(50.7%, 57.6%, 0%, 10.2%) |
| CIE-LAB | lab(49.15, 40.49, -65.24) |
| CIE-LCH | lch(49.15, 76.79, 301.83°) |
| OKLab | oklab(57.83% 0.047 -0.1867) |
| OKLCH | oklch(57.83% 0.193 284.1) |
| XYZ | xyz(25.2234, 17.7159, 76.2040) |
| Luminance | 0.1772 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.01
Dark Periwinkle
#665FD1
ΔE00 3.50
Light Indigo
#6D5ACF
ΔE00 3.94
Slate Blue
#6A5ACD
ΔE00 4.27
Purpley
#8756E4
ΔE00 4.94
Iris
#6258C4
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7161E5 #D5E561
analogous
#6193E5 #7161E5 #B361E5
triadic
#7161E5 #E57161 #61E571
tetradic
#7161E5 #E56193 #D5E561 #61E5B3
square
#7161E5 #E56193 #D5E561 #61E5B3
split-complementary
#7161E5 #E5B361 #93E561
monochromatic
#2E1DAF #422CDC #7161E5 #A096EE #CFCAF6
Accessibility & contrast
On white
4.62
#7161E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#7161E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7161E5
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7161E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7161E5 | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#447F9A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7161e5; /* rgb */ color: rgb(113, 97, 229); /* oklch */ color: oklch(57.8% 0.193 284.1);
Tailwind
colors: {
custom: {
50: '#a28eee',
500: '#7161e5',
950: '#000000',
},
}SCSS
$custom: #7161e5; $custom-light: #a28eee; $custom-dark: #000000;
JSON
{
"hex": "#7161e5",
"rgb": {
"r": 113,
"g": 97,
"b": 229
},
"hsl": {
"h": 247.273,
"s": 71.739,
"l": 63.922
},
"oklch": {
"l": 0.57834,
"c": 0.19253,
"h": 284.1
},
"luminance": 0.17717
}Semantic roles & 50–950 ramp
primary
#7161E5
secondary
#E2E8BA
accent
#D412BC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84