#7161CD#7161CD
#7161CD is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.2% C 0.161 H 286.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7161CD |
|---|---|
| RGB | rgb(113, 97, 205) |
| HSL | hsl(249, 52%, 59%) |
| HSV | hsv(249, 53%, 80%) |
| CMYK | cmyk(44.9%, 52.7%, 0%, 19.6%) |
| CIE-LAB | lab(47.58, 33.41, -54.13) |
| CIE-LCH | lch(47.58, 63.61, 301.68°) |
| OKLab | oklab(56.17% 0.0465 -0.154) |
| OKLCH | oklch(56.17% 0.161 286.8) |
| XYZ | xyz(22.1010, 16.4670, 59.7597) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.25
Light Indigo
#6D5ACF
ΔE00 2.25
Slate Blue
#6A5ACD
ΔE00 2.43
Iris
#6258C4
ΔE00 3.91
Mediumslateblue
#7B68EE
ΔE00 5.56
Purpley
#8756E4
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7161CD #BDCD61
analogous
#6187CD #7161CD #A761CD
triadic
#7161CD #CD7161 #61CD71
tetradic
#7161CD #CD6187 #BDCD61 #61CDA7
square
#7161CD #CD6187 #BDCD61 #61CDA7
split-complementary
#7161CD #CDA761 #87CD61
monochromatic
#392B88 #4C3AB7 #7161CD #9B8FDC #C5BEEA
Accessibility & contrast
On white
4.89
#7161CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#7161CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7161CD
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7161CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7161CD | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#2B6ECB
Tritanopia (blue-blind)
#54788E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7161cd; /* rgb */ color: rgb(113, 97, 205); /* oklch */ color: oklch(56.2% 0.161 286.8);
Tailwind
colors: {
custom: {
50: '#9f8edd',
500: '#7161cd',
950: '#000000',
},
}SCSS
$custom: #7161cd; $custom-light: #9f8edd; $custom-dark: #000000;
JSON
{
"hex": "#7161cd",
"rgb": {
"r": 113,
"g": 97,
"b": 205
},
"hsl": {
"h": 248.889,
"s": 51.923,
"l": 59.216
},
"oklch": {
"l": 0.56171,
"c": 0.1609,
"h": 286.8
},
"luminance": 0.16468
}Semantic roles & 50–950 ramp
primary
#7161CD
secondary
#D4DAB0
accent
#DB4CC6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83