#7161D7#7161D7
#7161D7 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.8% C 0.174 H 285.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7161D7 |
|---|---|
| RGB | rgb(113, 97, 215) |
| HSL | hsl(248, 60%, 61%) |
| HSV | hsv(248, 55%, 84%) |
| CMYK | cmyk(47.4%, 54.9%, 0%, 15.7%) |
| CIE-LAB | lab(48.22, 36.34, -58.82) |
| CIE-LCH | lch(48.22, 69.14, 301.71°) |
| OKLab | oklab(56.85% 0.0469 -0.1678) |
| OKLCH | oklch(56.85% 0.174 285.6) |
| XYZ | xyz(23.3469, 16.9653, 66.3213) |
| Luminance | 0.1697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.23
Light Indigo
#6D5ACF
ΔE00 2.53
Slate Blue
#6A5ACD
ΔE00 2.83
Mediumslateblue
#7B68EE
ΔE00 4.33
Iris
#6258C4
ΔE00 4.59
Purpley
#8756E4
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7161D7 #C7D761
analogous
#618CD7 #7161D7 #AC61D7
triadic
#7161D7 #D77161 #61D771
tetradic
#7161D7 #D7618C #C7D761 #61D7AC
square
#7161D7 #D7618C #C7D761 #61D7AC
split-complementary
#7161D7 #D7AC61 #8CD761
monochromatic
#362697 #4733C8 #7161D7 #9D92E3 #C9C3F0
Accessibility & contrast
On white
4.78
#7161D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#7161D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7161D7
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7161D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7161D7 | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C76DB
Deuteranopia (green-blind)
#176FD4
Tritanopia (blue-blind)
#4E7B93
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7161d7; /* rgb */ color: rgb(113, 97, 215); /* oklch */ color: oklch(56.8% 0.174 285.6);
Tailwind
colors: {
custom: {
50: '#a08ee4',
500: '#7161d7',
950: '#000000',
},
}SCSS
$custom: #7161d7; $custom-light: #a08ee4; $custom-dark: #000000;
JSON
{
"hex": "#7161d7",
"rgb": {
"r": 113,
"g": 97,
"b": 215
},
"hsl": {
"h": 248.136,
"s": 59.596,
"l": 61.176
},
"oklch": {
"l": 0.56846,
"c": 0.17425,
"h": 285.6
},
"luminance": 0.16966
}Semantic roles & 50–950 ramp
primary
#7161D7
secondary
#DAE0B4
accent
#C71EB0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84