#7162CD#7162CD
#7162CD is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.3% C 0.159 H 286.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7162CD |
|---|---|
| RGB | rgb(113, 98, 205) |
| HSL | hsl(248, 52%, 59%) |
| HSV | hsv(248, 52%, 80%) |
| CMYK | cmyk(44.9%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(47.82, 32.81, -53.74) |
| CIE-LCH | lch(47.82, 62.97, 301.40°) |
| OKLab | oklab(56.35% 0.0454 -0.1529) |
| OKLCH | oklch(56.35% 0.159 286.5) |
| XYZ | xyz(22.1940, 16.6529, 59.7907) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.31
Light Indigo
#6D5ACF
ΔE00 2.55
Slate Blue
#6A5ACD
ΔE00 2.70
Iris
#6258C4
ΔE00 4.12
Mediumslateblue
#7B68EE
ΔE00 5.44
Purpley
#8756E4
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7162CD #BECD62
analogous
#6289CD #7162CD #A762CD
triadic
#7162CD #CD7162 #62CD71
tetradic
#7162CD #CD6289 #BECD62 #62CDA7
square
#7162CD #CD6289 #BECD62 #62CDA7
split-complementary
#7162CD #CDA762 #89CD62
monochromatic
#392C89 #4C3AB7 #7162CD #9B90DC #C5BFEB
Accessibility & contrast
On white
4.85
#7162CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#7162CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7162CD
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7162CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7162CD | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#2D6ECB
Tritanopia (blue-blind)
#54798E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7162cd; /* rgb */ color: rgb(113, 98, 205); /* oklch */ color: oklch(56.3% 0.159 286.5);
Tailwind
colors: {
custom: {
50: '#9f8fdd',
500: '#7162cd',
950: '#000000',
},
}SCSS
$custom: #7162cd; $custom-light: #9f8fdd; $custom-dark: #000000;
JSON
{
"hex": "#7162cd",
"rgb": {
"r": 113,
"g": 98,
"b": 205
},
"hsl": {
"h": 248.411,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.56349,
"c": 0.15947,
"h": 286.5
},
"luminance": 0.16654
}Semantic roles & 50–950 ramp
primary
#7162CD
secondary
#D4DAB1
accent
#DB4DC7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83