#756EF7#756EF7
#756EF7 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.6% C 0.198 H 281.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #756EF7 |
|---|---|
| RGB | rgb(117, 110, 247) |
| HSL | hsl(243, 90%, 70%) |
| HSV | hsv(243, 55%, 97%) |
| CMYK | cmyk(52.6%, 55.5%, 0%, 3.1%) |
| CIE-LAB | lab(53.65, 39.06, -68.02) |
| CIE-LCH | lch(53.65, 78.44, 299.86°) |
| OKLab | oklab(61.63% 0.0384 -0.1947) |
| OKLCH | oklch(61.63% 0.198 281.1) |
| XYZ | xyz(29.6954, 21.6474, 90.5913) |
| Luminance | 0.2165 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.55
Cornflower
#6A79F7
ΔE00 4.23
Periwinkle (survey)
#8E82FE
ΔE00 6.73
Mediumpurple
#9370DB
ΔE00 7.37
Dark Periwinkle
#665FD1
ΔE00 7.65
Cornflower Blue
#5170D7
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756EF7 #F0F76E
analogous
#6EABF7 #756EF7 #BA6EF7
triadic
#756EF7 #F7756E #6EF775
tetradic
#756EF7 #F76EAB #F0F76E #6EF7BA
square
#756EF7 #F76EAB #F0F76E #6EF7BA
split-complementary
#756EF7 #F7BA6E #ABF76E
monochromatic
#170CDE #3E34F4 #756EF7 #ACA8FA #E3E2FD
Accessibility & contrast
On white
3.94
#756EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#756EF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756EF7
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756EF7 | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0285FC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#3C8EA8
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #756ef7; /* rgb */ color: rgb(117, 110, 247); /* oklch */ color: oklch(61.6% 0.198 281.1);
Tailwind
colors: {
custom: {
50: '#a698fb',
500: '#756ef7',
950: '#000000',
},
}SCSS
$custom: #756ef7; $custom-light: #a698fb; $custom-dark: #000000;
JSON
{
"hex": "#756ef7",
"rgb": {
"r": 117,
"g": 110,
"b": 247
},
"hsl": {
"h": 243.066,
"s": 89.542,
"l": 70
},
"oklch": {
"l": 0.61626,
"c": 0.19843,
"h": 281.1
},
"luminance": 0.21649
}Semantic roles & 50–950 ramp
primary
#756EF7
secondary
#F2F4CD
accent
#E600DA
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85