#7161CB#7161CB
#7161CB is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.0% C 0.158 H 287.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7161CB |
|---|---|
| RGB | rgb(113, 97, 203) |
| HSL | hsl(249, 50%, 59%) |
| HSV | hsv(249, 52%, 80%) |
| CMYK | cmyk(44.3%, 52.2%, 0%, 20.4%) |
| CIE-LAB | lab(47.46, 32.82, -53.18) |
| CIE-LCH | lch(47.46, 62.49, 301.69°) |
| OKLab | oklab(56.04% 0.0464 -0.1512) |
| OKLCH | oklch(56.04% 0.158 287.1) |
| XYZ | xyz(21.8612, 16.3710, 58.4964) |
| Luminance | 0.1637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.33
Dark Periwinkle
#665FD1
ΔE00 2.38
Slate Blue
#6A5ACD
ΔE00 2.47
Iris
#6258C4
ΔE00 3.84
Mediumslateblue
#7B68EE
ΔE00 5.83
Purpley
#8756E4
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7161CB #BBCB61
analogous
#6186CB #7161CB #A661CB
triadic
#7161CB #CB7161 #61CB71
tetradic
#7161CB #CB6186 #BBCB61 #61CBA6
square
#7161CB #CB6186 #BBCB61 #61CBA6
split-complementary
#7161CB #CBA661 #86CB61
monochromatic
#3A2C86 #4D3BB4 #7161CB #9A8FDA #C4BDE9
Accessibility & contrast
On white
4.91
#7161CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#7161CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7161CB
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7161CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7161CB | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#2E6EC9
Tritanopia (blue-blind)
#55788D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7161cb; /* rgb */ color: rgb(113, 97, 203); /* oklch */ color: oklch(56.0% 0.158 287.1);
Tailwind
colors: {
custom: {
50: '#9f8edb',
500: '#7161cb',
950: '#000000',
},
}SCSS
$custom: #7161cb; $custom-light: #9f8edb; $custom-dark: #000000;
JSON
{
"hex": "#7161cb",
"rgb": {
"r": 113,
"g": 97,
"b": 203
},
"hsl": {
"h": 249.057,
"s": 50.476,
"l": 58.824
},
"oklch": {
"l": 0.56039,
"c": 0.15819,
"h": 287.1
},
"luminance": 0.16372
}Semantic roles & 50–950 ramp
primary
#7161CB
secondary
#D2D9AF
accent
#DA4EC5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83