#7162E2#7162E2
#7162E2 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.8% C 0.187 H 284.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7162E2 |
|---|---|
| RGB | rgb(113, 98, 226) |
| HSL | hsl(247, 69%, 64%) |
| HSV | hsv(247, 57%, 89%) |
| CMYK | cmyk(50%, 56.6%, 0%, 11.4%) |
| CIE-LAB | lab(49.17, 39.01, -63.51) |
| CIE-LCH | lch(49.17, 74.54, 301.56°) |
| OKLab | oklab(57.79% 0.0459 -0.1816) |
| OKLCH | oklch(57.79% 0.187 284.2) |
| XYZ | xyz(24.9011, 17.7358, 74.0480) |
| Luminance | 0.1774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.05
Dark Periwinkle
#665FD1
ΔE00 3.24
Light Indigo
#6D5ACF
ΔE00 3.80
Slate Blue
#6A5ACD
ΔE00 4.11
Purpley
#8756E4
ΔE00 5.14
Iris
#6258C4
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7162E2 #D3E262
analogous
#6293E2 #7162E2 #B162E2
triadic
#7162E2 #E27162 #62E271
tetradic
#7162E2 #E26293 #D3E262 #62E2B1
square
#7162E2 #E26293 #D3E262 #62E2B1
split-complementary
#7162E2 #E2B162 #93E262
monochromatic
#301FAA #422ED8 #7162E2 #A096EC #CEC9F5
Accessibility & contrast
On white
4.62
#7162E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7162E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7162E2
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7162E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7162E2 | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#467F99
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7162e2; /* rgb */ color: rgb(113, 98, 226); /* oklch */ color: oklch(57.8% 0.187 284.2);
Tailwind
colors: {
custom: {
50: '#a28fec',
500: '#7162e2',
950: '#000000',
},
}SCSS
$custom: #7162e2; $custom-light: #a28fec; $custom-dark: #000000;
JSON
{
"hex": "#7162e2",
"rgb": {
"r": 113,
"g": 98,
"b": 226
},
"hsl": {
"h": 247.031,
"s": 68.817,
"l": 63.529
},
"oklch": {
"l": 0.57787,
"c": 0.18733,
"h": 284.2
},
"luminance": 0.17737
}Semantic roles & 50–950 ramp
primary
#7162E2
secondary
#E1E7B9
accent
#D115BB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84