#7166ED#7166ED
#7166ED is a mid, vivid blue. Relative luminance 0.191; OKLCH L 59.3% C 0.196 H 282.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7166ED |
|---|---|
| RGB | rgb(113, 102, 237) |
| HSL | hsl(245, 79%, 66%) |
| HSV | hsv(245, 57%, 93%) |
| CMYK | cmyk(52.3%, 57%, 0%, 7.1%) |
| CIE-LAB | lab(50.83, 39.96, -67.01) |
| CIE-LCH | lch(50.83, 78.02, 300.81°) |
| OKLab | oklab(59.25% 0.0417 -0.1919) |
| OKLCH | oklch(59.25% 0.196 282.3) |
| XYZ | xyz(26.8428, 19.1263, 82.3817) |
| Luminance | 0.1913 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.79
Dark Periwinkle
#665FD1
ΔE00 4.95
Light Indigo
#6D5ACF
ΔE00 5.84
Slate Blue
#6A5ACD
ΔE00 6.11
Purpley
#8756E4
ΔE00 6.19
Cornflower
#6A79F7
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7166ED #E2ED66
analogous
#669FED #7166ED #B566ED
triadic
#7166ED #ED7166 #66ED71
tetradic
#7166ED #ED669F #E2ED66 #66EDB5
square
#7166ED #ED669F #E2ED66 #66EDB5
split-complementary
#7166ED #EDB566 #9FED66
monochromatic
#2517C2 #3E2FE7 #7166ED #A49DF3 #D7D4FA
Accessibility & contrast
On white
4.35
#7166ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#7166ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7166ED
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7166ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7166ED | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#3C85A0
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7166ed; /* rgb */ color: rgb(113, 102, 237); /* oklch */ color: oklch(59.3% 0.196 282.3);
Tailwind
colors: {
custom: {
50: '#a392f4',
500: '#7166ed',
950: '#000000',
},
}SCSS
$custom: #7166ed; $custom-light: #a392f4; $custom-dark: #000000;
JSON
{
"hex": "#7166ed",
"rgb": {
"r": 113,
"g": 102,
"b": 237
},
"hsl": {
"h": 244.889,
"s": 78.947,
"l": 66.471
},
"oklch": {
"l": 0.59251,
"c": 0.19638,
"h": 282.3
},
"luminance": 0.19128
}Semantic roles & 50–950 ramp
primary
#7166ED
secondary
#EAEDC2
accent
#DB0ACA
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85