#7162CB#7162CB
#7162CB is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.2% C 0.157 H 286.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7162CB |
|---|---|
| RGB | rgb(113, 98, 203) |
| HSL | hsl(249, 50%, 59%) |
| HSV | hsv(249, 52%, 80%) |
| CMYK | cmyk(44.3%, 51.7%, 0%, 20.4%) |
| CIE-LAB | lab(47.70, 32.23, -52.79) |
| CIE-LCH | lch(47.70, 61.85, 301.40°) |
| OKLab | oklab(56.22% 0.0452 -0.1501) |
| OKLCH | oklch(56.22% 0.157 286.8) |
| XYZ | xyz(21.9541, 16.5570, 58.5274) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.45
Light Indigo
#6D5ACF
ΔE00 2.62
Slate Blue
#6A5ACD
ΔE00 2.74
Iris
#6258C4
ΔE00 4.05
Mediumslateblue
#7B68EE
ΔE00 5.72
Purpley
#8756E4
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7162CB #BCCB62
analogous
#6288CB #7162CB #A662CB
triadic
#7162CB #CB7162 #62CB71
tetradic
#7162CB #CB6288 #BCCB62 #62CBA6
square
#7162CB #CB6288 #BCCB62 #62CBA6
split-complementary
#7162CB #CBA662 #88CB62
monochromatic
#392C86 #4D3CB4 #7162CB #9B90DA #C4BEE9
Accessibility & contrast
On white
4.87
#7162CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#7162CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7162CB
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7162CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7162CB | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3274CF
Deuteranopia (green-blind)
#306EC9
Tritanopia (blue-blind)
#55788D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7162cb; /* rgb */ color: rgb(113, 98, 203); /* oklch */ color: oklch(56.2% 0.157 286.8);
Tailwind
colors: {
custom: {
50: '#9f8fdb',
500: '#7162cb',
950: '#000000',
},
}SCSS
$custom: #7162cb; $custom-light: #9f8fdb; $custom-dark: #000000;
JSON
{
"hex": "#7162cb",
"rgb": {
"r": 113,
"g": 98,
"b": 203
},
"hsl": {
"h": 248.571,
"s": 50.239,
"l": 59.02
},
"oklch": {
"l": 0.56217,
"c": 0.15676,
"h": 286.8
},
"luminance": 0.16558
}Semantic roles & 50–950 ramp
primary
#7162CB
secondary
#D3D9B0
accent
#DA4EC6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83