#7161CC#7161CC
#7161CC is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.1% C 0.160 H 286.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7161CC |
|---|---|
| RGB | rgb(113, 97, 204) |
| HSL | hsl(249, 51%, 59%) |
| HSV | hsv(249, 52%, 80%) |
| CMYK | cmyk(44.6%, 52.5%, 0%, 20%) |
| CIE-LAB | lab(47.52, 33.12, -53.65) |
| CIE-LCH | lch(47.52, 63.05, 301.68°) |
| OKLab | oklab(56.11% 0.0465 -0.1526) |
| OKLCH | oklch(56.11% 0.16 286.9) |
| XYZ | xyz(21.9807, 16.4189, 59.1260) |
| Luminance | 0.1642 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.28
Dark Periwinkle
#665FD1
ΔE00 2.31
Slate Blue
#6A5ACD
ΔE00 2.44
Iris
#6258C4
ΔE00 3.87
Mediumslateblue
#7B68EE
ΔE00 5.70
Purpley
#8756E4
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7161CC #BCCC61
analogous
#6187CC #7161CC #A761CC
triadic
#7161CC #CC7161 #61CC71
tetradic
#7161CC #CC6187 #BCCC61 #61CCA7
square
#7161CC #CC6187 #BCCC61 #61CCA7
split-complementary
#7161CC #CCA761 #87CC61
monochromatic
#392C87 #4D3BB5 #7161CC #9B8FDB #C4BEEA
Accessibility & contrast
On white
4.90
#7161CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#7161CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7161CC
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7161CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7161CC | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E73D0
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#55788D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7161cc; /* rgb */ color: rgb(113, 97, 204); /* oklch */ color: oklch(56.1% 0.160 286.9);
Tailwind
colors: {
custom: {
50: '#9f8edc',
500: '#7161cc',
950: '#000000',
},
}SCSS
$custom: #7161cc; $custom-light: #9f8edc; $custom-dark: #000000;
JSON
{
"hex": "#7161cc",
"rgb": {
"r": 113,
"g": 97,
"b": 204
},
"hsl": {
"h": 248.972,
"s": 51.196,
"l": 59.02
},
"oklch": {
"l": 0.56105,
"c": 0.15954,
"h": 286.9
},
"luminance": 0.1642
}Semantic roles & 50–950 ramp
primary
#7161CC
secondary
#D3D9AF
accent
#DB4DC6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83