#7162E4#7162E4
#7162E4 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.9% C 0.190 H 284.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7162E4 |
|---|---|
| RGB | rgb(113, 98, 228) |
| HSL | hsl(247, 71%, 64%) |
| HSV | hsv(247, 57%, 89%) |
| CMYK | cmyk(50.4%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(49.31, 39.61, -64.42) |
| CIE-LCH | lch(49.31, 75.62, 301.59°) |
| OKLab | oklab(57.93% 0.0459 -0.1843) |
| OKLCH | oklch(57.93% 0.19 284) |
| XYZ | xyz(25.1771, 17.8462, 75.5018) |
| Luminance | 0.1785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.88
Dark Periwinkle
#665FD1
ΔE00 3.46
Light Indigo
#6D5ACF
ΔE00 4.02
Slate Blue
#6A5ACD
ΔE00 4.33
Purpley
#8756E4
ΔE00 5.14
Iris
#6258C4
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7162E4 #D5E462
analogous
#6294E4 #7162E4 #B262E4
triadic
#7162E4 #E47162 #62E471
tetradic
#7162E4 #E46294 #D5E462 #62E4B2
square
#7162E4 #E46294 #D5E462 #62E4B2
split-complementary
#7162E4 #E4B262 #94E462
monochromatic
#2E1EAE #422EDB #7162E4 #A096ED #CFCAF6
Accessibility & contrast
On white
4.60
#7162E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#7162E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7162E4
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7162E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7162E4 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#0071E1
Tritanopia (blue-blind)
#45809A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7162e4; /* rgb */ color: rgb(113, 98, 228); /* oklch */ color: oklch(57.9% 0.190 284.0);
Tailwind
colors: {
custom: {
50: '#a28fed',
500: '#7162e4',
950: '#000000',
},
}SCSS
$custom: #7162e4; $custom-light: #a28fed; $custom-dark: #000000;
JSON
{
"hex": "#7162e4",
"rgb": {
"r": 113,
"g": 98,
"b": 228
},
"hsl": {
"h": 246.923,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.5793,
"c": 0.18992,
"h": 284
},
"luminance": 0.17848
}Semantic roles & 50–950 ramp
primary
#7162E4
secondary
#E2E8BA
accent
#D313BD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84