#7162CA#7162CA
#7162CA is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.2% C 0.155 H 286.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7162CA |
|---|---|
| RGB | rgb(113, 98, 202) |
| HSL | hsl(249, 50%, 59%) |
| HSV | hsv(249, 51%, 79%) |
| CMYK | cmyk(44.1%, 51.5%, 0%, 20.8%) |
| CIE-LAB | lab(47.64, 31.93, -52.32) |
| CIE-LCH | lch(47.64, 61.29, 301.40°) |
| OKLab | oklab(56.15% 0.0452 -0.1487) |
| OKLCH | oklch(56.15% 0.155 286.9) |
| XYZ | xyz(21.8354, 16.5095, 57.9018) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.53
Light Indigo
#6D5ACF
ΔE00 2.67
Slate Blue
#6A5ACD
ΔE00 2.77
Iris
#6258C4
ΔE00 4.03
Mediumslateblue
#7B68EE
ΔE00 5.85
Purpley
#8756E4
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7162CA #BBCA62
analogous
#6287CA #7162CA #A562CA
triadic
#7162CA #CA7162 #62CA71
tetradic
#7162CA #CA6287 #BBCA62 #62CAA5
square
#7162CA #CA6287 #BBCA62 #62CAA5
split-complementary
#7162CA #CAA562 #87CA62
monochromatic
#3A2D85 #4D3CB3 #7162CA #9A90D9 #C4BEE9
Accessibility & contrast
On white
4.88
#7162CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#7162CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7162CA
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7162CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7162CA | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#316EC8
Tritanopia (blue-blind)
#56788D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7162ca; /* rgb */ color: rgb(113, 98, 202); /* oklch */ color: oklch(56.2% 0.155 286.9);
Tailwind
colors: {
custom: {
50: '#9f8fdb',
500: '#7162ca',
950: '#000000',
},
}SCSS
$custom: #7162ca; $custom-light: #9f8fdb; $custom-dark: #000000;
JSON
{
"hex": "#7162ca",
"rgb": {
"r": 113,
"g": 98,
"b": 202
},
"hsl": {
"h": 248.654,
"s": 49.524,
"l": 58.824
},
"oklch": {
"l": 0.56152,
"c": 0.1554,
"h": 286.9
},
"luminance": 0.1651
}Semantic roles & 50–950 ramp
primary
#7162CA
secondary
#D2D8AF
accent
#D94FC5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83