#7162CF#7162CF
#7162CF is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.5% C 0.162 H 286.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7162CF |
|---|---|
| RGB | rgb(113, 98, 207) |
| HSL | hsl(248, 53%, 60%) |
| HSV | hsv(248, 53%, 81%) |
| CMYK | cmyk(45.4%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(47.94, 33.40, -54.69) |
| CIE-LCH | lch(47.94, 64.08, 301.41°) |
| OKLab | oklab(56.48% 0.0455 -0.1557) |
| OKLCH | oklch(56.48% 0.162 286.3) |
| XYZ | xyz(22.4370, 16.7501, 61.0703) |
| Luminance | 0.1675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.22
Light Indigo
#6D5ACF
ΔE00 2.53
Slate Blue
#6A5ACD
ΔE00 2.71
Iris
#6258C4
ΔE00 4.21
Mediumslateblue
#7B68EE
ΔE00 5.17
Purpley
#8756E4
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7162CF #C0CF62
analogous
#6289CF #7162CF #A862CF
triadic
#7162CF #CF7162 #62CF71
tetradic
#7162CF #CF6289 #C0CF62 #62CFA8
square
#7162CF #CF6289 #C0CF62 #62CFA8
split-complementary
#7162CF #CFA862 #89CF62
monochromatic
#382B8C #4B39BB #7162CF #9B91DD #C6C0EC
Accessibility & contrast
On white
4.83
#7162CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#7162CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7162CF
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7162CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7162CF | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#2A6FCD
Tritanopia (blue-blind)
#53798F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7162cf; /* rgb */ color: rgb(113, 98, 207); /* oklch */ color: oklch(56.5% 0.162 286.3);
Tailwind
colors: {
custom: {
50: '#9f8fde',
500: '#7162cf',
950: '#000000',
},
}SCSS
$custom: #7162cf; $custom-light: #9f8fde; $custom-dark: #000000;
JSON
{
"hex": "#7162cf",
"rgb": {
"r": 113,
"g": 98,
"b": 207
},
"hsl": {
"h": 248.257,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.56481,
"c": 0.16217,
"h": 286.3
},
"luminance": 0.16751
}Semantic roles & 50–950 ramp
primary
#7162CF
secondary
#D6DBB1
accent
#DD4BC9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83