#7162E6#7162E6
#7162E6 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 58.1% C 0.193 H 283.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7162E6 |
|---|---|
| RGB | rgb(113, 98, 230) |
| HSL | hsl(247, 73%, 64%) |
| HSV | hsv(247, 57%, 90%) |
| CMYK | cmyk(50.9%, 57.4%, 0%, 9.8%) |
| CIE-LAB | lab(49.45, 40.21, -65.33) |
| CIE-LCH | lch(49.45, 76.71, 301.61°) |
| OKLab | oklab(58.07% 0.0459 -0.1869) |
| OKLCH | oklch(58.07% 0.193 283.8) |
| XYZ | xyz(25.4564, 17.9579, 76.9724) |
| Luminance | 0.1796 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.74
Dark Periwinkle
#665FD1
ΔE00 3.69
Light Indigo
#6D5ACF
ΔE00 4.25
Slate Blue
#6A5ACD
ΔE00 4.56
Purpley
#8756E4
ΔE00 5.15
Iris
#6258C4
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7162E6 #D7E662
analogous
#6295E6 #7162E6 #B362E6
triadic
#7162E6 #E67162 #62E671
tetradic
#7162E6 #E66295 #D7E662 #62E6B3
square
#7162E6 #E66295 #D7E662 #62E6B3
split-complementary
#7162E6 #E6B362 #95E662
monochromatic
#2D1CB1 #412DDE #7162E6 #A197EE #D0CCF7
Accessibility & contrast
On white
4.57
#7162E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#7162E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7162E6
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7162E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7162E6 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#43809B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7162e6; /* rgb */ color: rgb(113, 98, 230); /* oklch */ color: oklch(58.1% 0.193 283.8);
Tailwind
colors: {
custom: {
50: '#a28fef',
500: '#7162e6',
950: '#000000',
},
}SCSS
$custom: #7162e6; $custom-light: #a28fef; $custom-dark: #000000;
JSON
{
"hex": "#7162e6",
"rgb": {
"r": 113,
"g": 98,
"b": 230
},
"hsl": {
"h": 246.818,
"s": 72.527,
"l": 64.314
},
"oklch": {
"l": 0.58073,
"c": 0.1925,
"h": 283.8
},
"luminance": 0.17959
}Semantic roles & 50–950 ramp
primary
#7162E6
secondary
#E4E9BB
accent
#D511BE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84